Skip to content

Commit

Permalink
chore: fix broken link to env specs (#1122)
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-kovalev authored Oct 5, 2023
1 parent 75bb45f commit b5170bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SDK/Resource/Detectors/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function getResource(): ResourceInfo
? self::decode(Configuration::getMap(Variables::OTEL_RESOURCE_ATTRIBUTES, []))
: [];

//@see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/sdk-environment-variables.md#general-sdk-configuration
//@see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#general-sdk-configuration
$serviceName = Configuration::has(Variables::OTEL_SERVICE_NAME)
? Configuration::getString(Variables::OTEL_SERVICE_NAME)
: null;
Expand Down

0 comments on commit b5170bf

Please sign in to comment.