-
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
Add module for cockroachdb #12467
Add module for cockroachdb #12467
Conversation
716800b
to
975ec8f
Compare
I see the pending point of |
Yeah, I'd like to explore the possibility of getting the documentation for these fields automatically. If not it will require at least an empty |
@jsoriano Is there a way to also have generated files for these light modules? This would be nice for testing, docs but also for us to see if the generated events outside the prometheus metrics contain the correct values (for example event.dataset). |
I would use by now the tools we already have, it should be possible to use current prometheus helpers to test this module and generate the |
@jsoriano Would be great to have the generated file directly as part of this PR to make sure we generate the right data. Great if the current tools already work. |
c20452a
to
df3453a
Compare
Just curious, when there are changes made in prometheus module, for example Pablo's |
Yes, tests will fail and affected files will need to be regenerated. This would be similar to other changes we do in the framework that require regenerating golden files. |
Dashboard added, screenshot uploaded to issue description. |
@exekias I have been playing with the possibility of generating fields.yml and docs for fields from the prometheus response, find here the changes over this PR: jsoriano#3 |
Leaving them for another PR sounds reasonable to me, will comment there! Is this one ready for review? |
Opening for review, there are some things pending but they are mostly for tests and docs, we can do them in future PRs. |
Depends on #12465, module implemented as light module (#12270).
Collect metrics from cochroachdb, from its Prometheus endpoint.
All metrics are collected as they are and stored under
prometheus.metrics
.An overview dashboard is added:
Pending:
fields.yml(there will be follow up, see Generate fields.yml from prometheus response jsoriano/beats#3)