Skip to content
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

Merged
merged 33 commits into from
Nov 26, 2020
Merged

Solr micrometer #40

merged 33 commits into from
Nov 26, 2020

Conversation

anghelutar
Copy link
Contributor

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.

alfred-telemetry-solr/README.md Outdated Show resolved Hide resolved
alfred-telemetry-solr/README.md Outdated Show resolved Hide resolved
alfred-telemetry-solr/README.md Outdated Show resolved Hide resolved
alfred-telemetry-solr/README.md Outdated Show resolved Hide resolved
alfred-telemetry-solr/README.md Outdated Show resolved Hide resolved
alfred-telemetry-solr/README.md Outdated Show resolved Hide resolved
alfred-telemetry-solr/README.md Outdated Show resolved Hide resolved
alfred-telemetry-solr/README.md Show resolved Hide resolved
@tgeens
Copy link
Contributor

tgeens commented Nov 17, 2020

Looks a lot cleaner 👍 only the alfresco.tracker is still odd.

tgeens
tgeens previously approved these changes Nov 19, 2020
tgeens and others added 11 commits November 24, 2020 08:19
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
alfred-telemetry-solr/build.gradle Outdated Show resolved Hide resolved
alfred-telemetry-solr/build.gradle Outdated Show resolved Hide resolved
alfred-telemetry-solr/build.gradle Outdated Show resolved Hide resolved
alfred-telemetry-solr/build.gradle Outdated Show resolved Hide resolved
Roxana Angheluta and others added 6 commits November 24, 2020 15:48
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>
@anghelutar anghelutar marked this pull request as ready for review November 25, 2020 16:24
@anghelutar
Copy link
Contributor Author

@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.
Copy link
Contributor

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 ?

Copy link
Contributor Author

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.

@tgeens tgeens merged commit 292cfbb into master Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants