[Filebeat] Add /inputs/ route for Filebeat input metrics#33859
[Filebeat] Add /inputs/ route for Filebeat input metrics#33859andrewkroh merged 5 commits intoelastic:mainfrom
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? 🙏 |
belimawr
left a comment
There was a problem hiding this comment.
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!
|
| *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.
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 aninputfield that identifies the type of input (e.g.aws-s3) and anidfield that is the unique identifier for the input instance.A request may optionally specify a
typequery parameter to request metrics for a specific type of input. Andprettymay 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.asciidocorCHANGELOG-developer.next.asciidoc.