-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Stats: Report config reload data #5680
Comments
For tracking reloads, we'll have to change the way the entire metrics tree is reset when a config is reloaded. |
Thanks for tracking this. I can see this as a new resource type under We'll need to document this new behavior of metrics living across config reloads. |
@jordansissel assigning this to @jsvd |
what about:
[edit]
|
@jsvd Seems good to me, I see that you record the
This node could be detailed, I see values when config management get in. |
yes I thought about that as well,I updated the issue description to add this metric, can we have a kind of metric gauge which is a string? |
@ph the resource If so we can't use Also, pipeline reload metrics could be done per pipeline id: a reload on the Implementing this means that the metric reset on reload must be even finer grained by only clearing the event counts/plugin stats for that pipeline id and not the whole pipeline resource. Thoughts? |
Perfectly possible, gauge can hold any types. If so we can't use /_node/stats/pipeline/reloads/ as that would seems like the name of a pipeline
This is good point, I am not sure of the best approch here for two reason.
I wonder if we should have an |
well in this case we don't need the /agent thing, we just to do a deeper reset and put the reload count in the correct pipeline_id |
agree |
As we only expose the main pipeline today, I think we can proceed with these stats under @jsvd FYI in case you haven't seen this, but @jordansissel defined a metrics style guide that we should strive to adhere to. Also, for success/failure, I know for instance with grok/date stats, the terms "matches" and "failures" are used. Maybe "successes" and "failures" makes sense here? |
@acchen97 I wasn't aware of that, great feedback thanks! |
done in #5848 |
Suggested by @widhalmt in NETWAYS/check_logstash#6
The text was updated successfully, but these errors were encountered: