-
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
x-pack/filebeat/input/http_endpoint: add input metrics #36427
Conversation
2b72357
to
6ab4879
Compare
6ab4879
to
e2bfa3c
Compare
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
e2bfa3c
to
7febad2
Compare
This comment was marked as outdated.
This comment was marked as outdated.
7febad2
to
5d23b56
Compare
This comment was marked as outdated.
This comment was marked as outdated.
5d23b56
to
38aacfe
Compare
This comment was marked as outdated.
This comment was marked as outdated.
38aacfe
to
19b7921
Compare
This comment was marked as outdated.
This comment was marked as outdated.
19b7921
to
efcfc0b
Compare
This pull request is now in conflicts. Could you fix it? 🙏
|
efcfc0b
to
7245d0d
Compare
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.
I like the choice of metrics. Those should be useful diagnostic data.
log := ctx.Logger.With("address", e.addr) | ||
pattern := e.config.URL | ||
|
||
var err error | ||
metrics.bindAddr.Set(e.addr) |
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.
I think this needs to come from the server. For example if through config I asked it to bind to (127.0.0.1:0
) then the input metric should show the actual ephemeral port that it landed on.
Proposed commit message
See title.
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs