You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a local run shows following errors in opentelemetry-resource-detector-aws:
src/detectors/AwsBeanstalkDetector.ts:85:7 - error TS2739: Type 'IResource' is missing the following properties from type 'Resource': _attributes, _syncAttributes, _asyncAttributesPromise
85 return Resource.empty();
~~~~~~~~~~~~~~~~~~~~~~~~
src/detectors/AwsEcsDetector.ts:53:7 - error TS2322: Type 'IResource' is not assignable to type 'Resource'.
53 return Resource.empty();
~~~~~~~~~~~~~~~~~~~~~~~~
src/detectors/AwsEcsDetector.ts:79:5 - error TS2322: Type 'IResource' is not assignable to type 'Resource'.
79 return resource;
~~~~~~~~~~~~~~~~
src/detectors/AwsEcsDetector.ts:118:5 - error TS2322: Type 'IResource' is not assignable to type 'Resource'.
118 return Resource.empty();
~~~~~~~~~~~~~~~~~~~~~~~~
src/detectors/AwsEksDetector.ts:73:9 - error TS2322: Type 'IResource' is not assignable to type 'Resource'.
73 return Resource.empty();
~~~~~~~~~~~~~~~~~~~~~~~~
src/detectors/AwsEksDetector.ts:79:7 - error TS2322: Type 'IResource' is not assignable to type 'Resource'.
79 return !containerId && !clusterName
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
80 ? Resource.empty()
~~~~~~~~~~~~~~~~~~~~~~~~~~
...
87 [SemanticResourceAttributes.CONTAINER_ID]: containerId || '',
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88 });
~~~~~~~~~~~~~
src/detectors/AwsEksDetector.ts:91:7 - error TS2322: Type 'IResource' is not assignable to type 'Resource'.
91 return Resource.empty();
~~~~~~~~~~~~~~~~~~~~~~~~
src/detectors/AwsLambdaDetector.ts:37:7 - error TS2322: Type 'IResource' is not assignable to type 'Resource'.
37 return Resource.empty();
~~~~~~~~~~~~~~~~~~~~~~~~
Found 8 errors.
The text was updated successfully, but these errors were encountered:
Thanks for the awareness - please let us know if there's any action needed to update the resource detectors themselves (from what I can tell it seems like an unintentional breaking change in the underlying Resources package).
Refs: #1427 (comment)
a local run shows following errors in opentelemetry-resource-detector-aws:
The text was updated successfully, but these errors were encountered: