-
Notifications
You must be signed in to change notification settings - Fork 524
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
Allow dynamic datasets and namespaces #11168
Conversation
45ea165
to
4a0c24e
Compare
📚 Go benchmark reportDiff with the
report generated with https://pkg.go.dev/golang.org/x/perf/cmd/benchstat |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the issue description:
to add elasticsearch.dynamic_dataset: true only to the app_metrics and app_logs data streams. That's because changing the data set for other data stream, such as internal_metrics could confuse the APM UI.
Was this overlooked or were there any follow up conversations/considerations that led to adding dynamic_dataset: true
everywhere?
Ah yes, my bad. I overlooked that. I've kept it only for app_metrics and app_logs. |
I was wondering the same tbh. @felixbarny was there a special reason for keeping |
I don't have a strong opinion on whether to allow dynamic_dataset for traces. I suppose there's no harm in allowing that. However, we should add |
Thank you. I have updated this PR to set |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. If we go ahead with elastic/elasticsearch#97546, then I expect we'll end up giving APM append-only privileges for traces-*
, metrics-*
, and logs-*
. This seems pretty well aligned.
Verified with 8.10.0-BC1. I created Sending test data with apm-tool, I verified this with |
* allow dynamic datasets and namespaces * only keep dynamic datasets and namespaces for app metrics and app logs * add dynamic namespace to every data stream * add dynamic dataset to traces * update changelog
Motivation/summary
This change grants the permissions for agents running the apmpackage integration to send data to other data streams, and other namespaces, making the use of the
reroute
processor possible.Checklist
apmpackage
have been made)For functional changes, consider:
How to test these changes
I ran this integration locally with tilt.
Related issues
Closes #10991