Skip to content

Commit

Permalink
opentelemetry: enrich services for jenkins, hetzner or jira (ansible-…
Browse files Browse the repository at this point in the history
…collections#4105)

* opentelemetry: enrich services for jenkins, hetzner, jira, zypper, chocolatey

* remove source and name for the time being

Those arguments can be later on in the future added, maybe with some opt-in feature, so let's only focus in the ones which are fully http based for now

* changelog fragment

* Update changelogs/fragments/4105-opentelemetry_plugin-enrich_jira_hetzner_jenkins_services.yaml

Co-authored-by: Felix Fontein <[email protected]>

Co-authored-by: Felix Fontein <[email protected]>
  • Loading branch information
v1v and felixfontein authored Feb 12, 2022
1 parent 14b8cd9 commit aa554c2
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 ``jenkins``, ``hetzner`` or ``jira`` modules (https://github.com/ansible-collections/community.general/pull/4105).
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", "registry_url")
url_args = ("url", "api_url", "baseurl", "repo", "server_url", "chart_repo_url", "registry_url", "endpoint", "uri", "updates_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 aa554c2

Please sign in to comment.