Skip to content

Commit

Permalink
opentelemetry: enrich service for community.docker.docker_login (#4104)…
Browse files Browse the repository at this point in the history
… (#4109)

* opentelemetry: support service for community.docker.docker_login

* changelog

(cherry picked from commit e793e2e)

Co-authored-by: Victor Martinez <[email protected]>
  • Loading branch information
patchback[bot] and v1v authored Jan 29, 2022
1 parent 49eda72 commit ad1f25e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- opentelemetry_plugin - enrich service when using the ``docker_login`` (https://github.com/ansible-collections/community.general/pull/4104).
2 changes: 1 addition & 1 deletion plugins/callback/opentelemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def parse_and_redact_url_if_possible(args):
@staticmethod
def url_from_args(args):
# the order matters
url_args = ("url", "api_url", "baseurl", "repo", "server_url", "chart_repo_url")
url_args = ("url", "api_url", "baseurl", "repo", "server_url", "chart_repo_url", "registry_url")
for arg in url_args:
if args is not None and args.get(arg):
return args.get(arg)
Expand Down

0 comments on commit ad1f25e

Please sign in to comment.