-
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
Switch partition metricset from client to broker #3029
Changes from all commits
03cb921
9559407
2490e31
bd46985
cae454b
fb3ef8c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,6 +94,27 @@ metricbeat.modules: | |
#period: 10s | ||
#hosts: ["localhost:9092"] | ||
|
||
#client_id: metricbeat | ||
|
||
#metadata.retries: 3 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure if it we should use metadata namespace here, as in the end from a user perspective it is just retrieds. Metadata is like an internal "logic" thing. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. makes sense. |
||
#metadata.backoff: 250ms | ||
|
||
# List of Topics to query metadata for. If empty, all topics will be queried. | ||
#topics: [] | ||
|
||
# Optional SSL. By default is off. | ||
# List of root certificates for HTTPS server verifications | ||
#ssl.certificate_authorities: ["/etc/pki/root/ca.pem"] | ||
|
||
# Certificate for SSL client authentication | ||
#ssl.certificate: "/etc/pki/client/cert.pem" | ||
|
||
# Client Certificate Key | ||
#ssl.key: "/etc/pki/client/cert.key" | ||
|
||
# SASL authentication | ||
#username: "" | ||
#password: "" | ||
|
||
#------------------------------- MongoDB Module ------------------------------ | ||
#- module: mongodb | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,24 @@ | |
#period: 10s | ||
#hosts: ["localhost:9092"] | ||
|
||
#client_id: metricbeat | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would remove all tehse config options from the short config. |
||
|
||
#metadata.retries: 3 | ||
#metadata.backoff: 250ms | ||
|
||
# List of Topics to query metadata for. If empty, all topics will be queried. | ||
#topics: [] | ||
|
||
# Optional SSL. By default is off. | ||
# List of root certificates for HTTPS server verifications | ||
#ssl.certificate_authorities: ["/etc/pki/root/ca.pem"] | ||
|
||
# Certificate for SSL client authentication | ||
#ssl.certificate: "/etc/pki/client/cert.pem" | ||
|
||
# Client Certificate Key | ||
#ssl.key: "/etc/pki/client/cert.key" | ||
|
||
# SASL authentication | ||
#username: "" | ||
#password: "" |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,14 +11,19 @@ | |
"id": 0 | ||
}, | ||
"offset": { | ||
"newest": 13, | ||
"newest": 11, | ||
"oldest": 0 | ||
}, | ||
"partition": 0, | ||
"replicas": [ | ||
0 | ||
], | ||
"topic": "testtopic" | ||
"partition": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This needs update. I will do a PR as soon as this is merged. |
||
"error": 0, | ||
"id": 0, | ||
"insync_replica": true, | ||
"leader": 0, | ||
"replica": 0 | ||
}, | ||
"topic": { | ||
"name": "test-metricbeat-8760238589576171408" | ||
} | ||
} | ||
}, | ||
"metricset": { | ||
|
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.
Just checking, does this branch contain the sasl fix?
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.
yes, the branch is directly branched off from sasl-handshake.