File tree 2 files changed +2
-2
lines changed
content/en/docs/languages/php
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ $resource = ResourceInfoFactory::emptyResource()->merge(ResourceInfo::create(Att
186
186
ResourceAttributes::SERVICE_NAMESPACE => 'demo',
187
187
ResourceAttributes::SERVICE_NAME => 'test-application',
188
188
ResourceAttributes::SERVICE_VERSION => '0.1',
189
- ResourceAttributes::DEPLOYMENT_ENVIRONMENT => 'development',
189
+ ResourceAttributes::DEPLOYMENT_ENVIRONMENT_NAME => 'development',
190
190
])));
191
191
$spanExporter = new SpanExporter(
192
192
(new StreamTransportFactory())->create('php://stdout', 'application/json')
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ $resource = ResourceInfoFactory::defaultResource()->merge(ResourceInfo::create(A
80
80
ResourceAttributes::SERVICE_NAME => 'bar',
81
81
ResourceAttributes::SERVICE_INSTANCE_ID => 1,
82
82
ResourceAttributes::SERVICE_VERSION => '0.1',
83
- ResourceAttributes::DEPLOYMENT_ENVIRONMENT => 'development',
83
+ ResourceAttributes::DEPLOYMENT_ENVIRONMENT_NAME => 'development',
84
84
])));
85
85
86
86
$tracerProvider = new TracerProvider(
You can’t perform that action at this time.
0 commit comments