Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracing enhancements #384

Merged
merged 4 commits into from
Mar 1, 2023
Merged

Tracing enhancements #384

merged 4 commits into from
Mar 1, 2023

Conversation

guicassolato
Copy link
Collaborator

@guicassolato guicassolato commented Mar 1, 2023

  • observability-* cmd-line flags renamed as tracing-* – so it's clear this is the only kind of signal being pushed, other types would require their own separate endpoints anyway
  • Tracing seed flag turned into a string array flag that accepts key=value pairs, renamed tag
  • Traceparent and Baggage propagators always enabled
  • Docs

Related to #163

@guicassolato guicassolato self-assigned this Mar 1, 2023
@guicassolato guicassolato requested a review from a team March 1, 2023 16:58
docs/user-guides/observability.md Outdated Show resolved Hide resolved

Integration with an OpenTelemetry collector can be enabled by supplying the `--tracing-service-endpoint` command-line flag (e.g. `authorino server --observability-service-endpoint=http://jaeger:14268/api/traces`).

The additional `--tracing-service-tags` command-line flag allow to specify fixed agent-level key-value tags for the trace signals emitted by Authorino (`key1=value1[,keyN=valueN]*`).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have you considered supporting multiple flags? That would leave the parsing logic to the CLI lib.

authorino server --tracing-service-tags a=1 --tracing-service-tags b=2

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not, but it's a good idea. It feels more Golang flags.

Done.

@guicassolato guicassolato requested a review from eguzki March 1, 2023 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants