Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change from access to get
Browse files Browse the repository at this point in the history
dashpole committed Sep 26, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 4ea1d6d commit 1347df7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -206,7 +206,7 @@ def _create_monitored_resource(
and ResourceAttributes.SERVICE_NAME in map_config.otel_keys
):
# The service name started with unknown_service, and was ignored above.
mr_value = resource_attrs[ResourceAttributes.SERVICE_NAME]
mr_value = resource_attrs.get(ResourceAttributes.SERVICE_NAME)

if mr_value is None:
mr_value = map_config.fallback

0 comments on commit 1347df7

Please sign in to comment.