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

Add logstash_stats_pipeline_flow_worker_ metrics, fix other flow metrics #369

Merged
merged 3 commits into from
Oct 9, 2024

Conversation

kuskoman
Copy link
Owner

@kuskoman kuskoman commented Oct 9, 2024

Relates to #365 and #366

@@ -165,6 +169,12 @@ type SinglePipelineResponse struct {
WithErrors int `json:"with_errors"`
Responses map[string]int `json:"responses"`
} `json:"bulk_requests"`
Flow struct {
Copy link
Contributor

Choose a reason for hiding this comment

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

This struct also exists in the "Filters" (but not codecs or inputs) object in the data returned from _node/stats

Not sure if important

Copy link
Owner Author

Choose a reason for hiding this comment

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

all right, added it to plugins, but not to metrics (at least for now, not sure whether somebody needs this stats, but should be quite easy to add it in the future)

@VCCPlindsten
Copy link
Contributor

I've tested this with logstash 8.11, which does not present the new metric, and it defaults to 0, which is a reasonable failure mode.

+1

@kuskoman kuskoman merged commit 2b5a41a into v1 Oct 9, 2024
16 checks passed
@kuskoman kuskoman deleted the add-new-metrics-v1 branch October 9, 2024 13:22
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.

2 participants