-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Filebeat] Add /inputs/ route for Filebeat input metrics #33859
[Filebeat] Add /inputs/ route for Filebeat input metrics #33859
Conversation
This pull request doesn't have a |
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
Expose metrics from Filebeat inputs under /inputs/. This moves metrics for aws-s3, aws-cloudwatch, cel, and lumberjack that were previously registered under the "dataset" monitoring namespace to the "inputs" namespace. `/inputs/` returns metrics related to input instances. It returns a list of objects where each object contains metrics for an instance of an input. Each object will minimally contain an `input` field that identifies the type of input (e.g. `aws-s3`) and an `id` field that is the unique identifier for the input instance. A request may optionally specify a `type` query parameter to request metrics for a specific type of input. And `pretty` may be included to have the returned JSON be pretty formatted.
46e12c9
to
a4f043e
Compare
This pull request is now in conflicts. Could you fix it? 🙏
|
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, I added some small comments/suggestions.
The questions about parameter case and if we need to be that strict are my main concerns here.
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@@ -16,6 +16,8 @@ https://github.com/elastic/beats/compare/v8.2.0\...main[Check the HEAD diff] | |||
|
|||
*Filebeat* | |||
|
|||
- Fixed error spam from `add_kubernetes_metadata` processor when running on AKS. {pull}33697[33697] | |||
- Metrics hosted by the HTTP monitoring endpoint for the `aws-cloudwatch`, `aws-s3`, `cel`, and `lumberjack` inputs are now available under `/inputs/` instead of `/dataset`. |
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.
Is this a potential breaking change?
Expose metrics from Filebeat inputs under /inputs/. This moves metrics for aws-s3, aws-cloudwatch, cel, and lumberjack that were previously registered under the "dataset" monitoring namespace to the "inputs" namespace. `/inputs/` returns metrics related to input instances. It returns a list of objects where each object contains metrics for an instance of an input. Each object will minimally contain an `input` field that identifies the type of input (e.g. `aws-s3`) and an `id` field that is the unique identifier for the input instance. A request may optionally specify a `type` query parameter to request metrics for a specific type of input. And `pretty` may be included to have the returned JSON be pretty formatted.
What does this PR do?
Expose metrics from Filebeat inputs under
/inputs/
. This moves metrics for aws-s3, aws-cloudwatch, cel, and lumberjack that were previously registered under the "dataset" monitoring namespace to the "inputs" namespace./inputs/
returns metrics related to input instances. It returns a list of objects where each object contains metrics for an instance of an input. Each object will minimally contain aninput
field that identifies the type of input (e.g.aws-s3
) and anid
field that is the unique identifier for the input instance.A request may optionally specify a
type
query parameter to request metrics for a specific type of input. Andpretty
may be included to have the returned JSON be pretty formatted.Why is it important?
This will establish a means of fetching input metrics. I plan to add a way to monitor this endpoint and create some dashboards.
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.