-
Notifications
You must be signed in to change notification settings - Fork 4
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
Solr micrometer #40
Solr micrometer #40
Conversation
...lr/common/src/main/java/eu/xenit/alfred/telemetry/solr/monitoring/binder/SolrFTSMetrics.java
Outdated
Show resolved
Hide resolved
Looks a lot cleaner 👍 only the |
04f1ea0
to
3cf0762
Compare
Included some default binders + implemented some custom ones. Only Prometheus registry at the moment. Factored out common code in a separate module.
- cumped micrometer version - implemented jmx-based session metrics (the ones from micrometer require a Manager object, which is not present) - refactored jmx code - dashboard for Tomcat - improved Solr dashboard
Tomcat threads got lost, re-added them.
… they run at fixed ports and will fail if multiple builds run in parallel.
Set the INDEX variable in alfresco so that search works.
Grafana dashboard.
handler. This insures that for graphite metrics are registered. Add SOLR_ENDPOINT as an environment variable. Simplify usage of INDEX in docker-compose. Wait 10s instead of 30s.
Some cleanup.
3cf0762
to
f66bae1
Compare
Make metrics configurable. Environment variables documented in the README.
Co-authored-by: Lars Vierbergen <lars.vierbergen@xenit.eu>
Co-authored-by: Lars Vierbergen <lars.vierbergen@xenit.eu>
Co-authored-by: Lars Vierbergen <lars.vierbergen@xenit.eu>
…into solr-micrometer
@tgeens @vierbergenlars If there are no more remarks, approve and merge please. |
|
||
See metrics provided by these modules [here](https://github.com/micrometer-metrics/micrometer/tree/master/micrometer-core/src/main/java/io/micrometer/core/instrument/binder/jvm). | ||
|
||
Note: at the moment GC metrics are not working fully. |
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.
What is this about exactly ?
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.
Metrics like jvm_gc_pause_xxx don't work for solr => jvm dashboard for grafana is broken for solr.
Other gc metrics do work: jvm_gc_memory_allocated_xxx.
Added micrometer dependencies to alfred-telemetry-solr and rewrote existing Prometheus metrics (and more) with the new framework.
Refactored common code into new module.
Added tomcat-specific metrics: newer version of micrometer required.
Solr + tomcat micrometer-specific dashboards.
Prepare for multiple registries.
To solve: GC metrics.