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
import {SEMRESATTRS_DEPLOYMENT_ENVIRONMENT} from '@opentelemetry/semantic-conventions';
Deprecated symbol used, consult docs for better alternative
TS6385: SEMRESATTRS_DEPLOYMENT_ENVIRONMENT is deprecated.
SemanticResourceAttributes. d. ts(140, 4): The declaration was marked as deprecated here.
Name of the deployment environment (aka deployment tier).
Deprecated:
use ATTR_DEPLOYMENT_ENVIRONMENT
Then import {ATTR_DEPLOYMENT_ENVIRONMENT} from '@opentelemetry/semantic-conventions';
TS2724: "@opentelemetry/ semantic-conventions" has no exported member named ATTR_DEPLOYMENT_ENVIRONMENT.
Hi @mpareja-godaddy, thanks for reaching out - I think this is a duplicate of #5025 so you can track progress there. In the meantime you can import that constant by using import {ATTR_DEPLOYMENT_ENVIRONMENT} from '@opentelemetry/semantic-conventions/incubating';
What happened?
Steps to Reproduce
import {SEMRESATTRS_DEPLOYMENT_ENVIRONMENT} from '@opentelemetry/semantic-conventions';
Then
import {ATTR_DEPLOYMENT_ENVIRONMENT} from '@opentelemetry/semantic-conventions';
Expected Result
a non deprecated import
Actual Result
a Deprecated import
Additional Details
OpenTelemetry Setup Code
No response
package.json
Relevant log output
No response
The text was updated successfully, but these errors were encountered: