-
Notifications
You must be signed in to change notification settings - Fork 70
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
Added log_entry_count and request_count self-metrics to ops-agent #479
Added log_entry_count and request_count self-metrics to ops-agent #479
Conversation
rafaelwestphal
commented
Mar 18, 2022
•
edited
Loading
edited
00a4688
to
b102a91
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.
Can we add some integration tests for this? Simply uncommenting
ops-agent/integration_test/ops_agent_test.go
Lines 901 to 904 in 9645814
// TODO(b/170138116): Enable these metrics once they are being collected. | |
//"agent.googleapis.com/agent/log_entry_count", | |
//"agent.googleapis.com/agent/log_entry_retry_count", | |
//"agent.googleapis.com/agent/request_count", |
2b36e50
to
efd9f87
Compare
Added the self metrics log_entry_retry_count, log_entry_count, and request_count to ops-agent. This relays on metrics exposed by the fluentbit prometheus endpoint.
efd9f87
to
bb08b61
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.
LGTM