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

[v9] Tag forwarded spans with custom attributes #15485

Merged
merged 6 commits into from
Aug 16, 2022

Conversation

rosstimothy
Copy link
Contributor

Backport #14706 to branch/v9

* Tag forwarded spans with custom attributes

Adds a `teleport.forwarded.for` attribute to a resource or
all spans that are forwarded to the auth server. This allows
consumers of the spans to identify where the spans are coming
from and take possible action. In some scenarios it may
be desirable to drop forwarded spans along the collection
process, by tagging them we can provide a way for those
consumers to identify them. It also allows for potentially
identifying a malicious user that may be trying to spam the
telemetry backend with spans.

Part of #12241
@rosstimothy rosstimothy marked this pull request as ready for review August 12, 2022 17:23
@github-actions github-actions bot requested review from espadolini and jakule August 12, 2022 17:24
@github-actions github-actions bot removed the request for review from espadolini August 15, 2022 20:34
@rosstimothy rosstimothy enabled auto-merge (squash) August 16, 2022 14:31
@rosstimothy rosstimothy merged commit ab43b28 into branch/v9 Aug 16, 2022
@zmb3 zmb3 deleted the tross/backport-14706-branch/v9 branch September 9, 2022 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants