-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[APM] agent config applied indicator does not work with Fleet integration #123109
Comments
Pinging @elastic/apm-ui (Team:apm) |
When running as a Fleet integration, agent config is delivered to APM Server rather than APM Server actively querying Kibana for the config. Thus, we cannot actively mark agent config as having been applied, as we did in the past. Instead, APM Server produces The docs have the following fields that may be used:
The value of |
Thanks for posting this issue. This single bug has halted our POV with APM and has caused much frustration with testing. Even though the icon doesn't change, does this mean the config changes are still not applying? From our experience, the changes made in Kibana do not get sent to the agent in the application to enable, for example, request body data. |
@nicpenning sorry about the understandable frustration.
Yes. We have tests that show agent config works when using Fleet - it's just that this doesn't reflect in the indicator.
Would you mind opening a post at https://discuss.elastic.co/c/observability/apm/58 with the steps you took? Maybe there is some other bug that we're not aware of. |
Yes, I can do that. Thanks! |
@axw how the configs applied by Jaeger agent will be handled? (see elastic/apm-server#3579). Also, do you think we should add a timerange filter as mentioned here? |
cc @elastic/apm-server |
We immediately mark config as applied when it is queried by a Jaeger client. This is slightly different to what we do for Elastic APM agents, where we mark the config as applied when the agent queries the config a second time (as identified by its Etag), at which point we know it has already been successfully applied by the agent. Either way though, there should be no difference to the UI: once there's an
We'll definitely want a time range filter, as this is an append-only data stream which will be updated every 30 seconds. So filter on the last minute? If there's no active APM Server(s), then there would be no |
@axw is the |
@dgieselaar yes, see #123109 (comment) EDIT: sorry just saw you specifically asked "for Jaeger agents". Yes, it'll be available for them as well. |
@axw great, we should be set then, correct @gbamparop? |
Yes that's correct as long as it's being set. |
Thanks, I'll update the time range to the last minute then. |
Since upgrading to 8.2.0 everything with APM broke so we are working on fixing this before we can talk about the agent configuration issues. |
Kibana version
8.0.0
APM Server version (if applicable)
8.0.0
Elasticsearch version (if applicable)
No response
Steps to Reproduce
Expected Behavior
UI indicates agent config has been applied.
Actual Behavior
UI indicates agent config is not yet applied.
The text was updated successfully, but these errors were encountered: