Skip to content

Commit

Permalink
Ensure that telemetry.sdk.language is set (#190)
Browse files Browse the repository at this point in the history
Signed-off-by: Galo Navarro <[email protected]>
  • Loading branch information
srvaroa authored Apr 23, 2021
1 parent 1557379 commit ec24f83
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions definitions/ext-service/definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,25 @@ synthesis:
encodeIdentifierInGUID: true
conditions:
- attribute: service_name
tags:
telemetry.sdk.name:
entityTagName: instrumentation.provider
telemetry.sdk.language:
entityTagName: language
telemetry.sdk.version:

# telemetry with serviceName attribute
- identifier: serviceName
name: serviceName
encodeIdentifierInGUID: true
conditions:
- attribute: serviceName
tags:
telemetry.sdk.name:
entityTagName: instrumentation.provider
telemetry.sdk.language:
entityTagName: language
telemetry.sdk.version:

# telemetry from opentelemetry provider
- identifier: service.name
Expand All @@ -37,6 +49,12 @@ synthesis:
conditions:
- attribute: instrumentation.provider
value: kamon-agent
tags:
telemetry.sdk.name:
entityTagName: instrumentation.provider
telemetry.sdk.language:
entityTagName: language
telemetry.sdk.version:

# telemetry from micrometer provider
- identifier: service.name
Expand All @@ -45,6 +63,12 @@ synthesis:
conditions:
- attribute: instrumentation.provider
value: micrometer
tags:
telemetry.sdk.name:
entityTagName: instrumentation.provider
telemetry.sdk.language:
entityTagName: language
telemetry.sdk.version:

# telemetry from pixie provider
- identifier: service.name
Expand Down

0 comments on commit ec24f83

Please sign in to comment.