[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16304229#comment-16304229 ]
Minoru Osuka commented on SOLR-11795: ------------------------------------- solr-exporter can expose the search results as well as the Metrics API as metrics. For example, expose the facets results as metrics as following (config.yml): {code:yml} queries: - query: collection: collection1 path: /select params: - q: "*:*" - start: 0 - rows: 0 - json.facet: |- { category: { type: terms, field: cat } } jsonQueries: # solr_facets_category - |- .facets.category.buckets[] as $object | $object.val as $term | $object.count as $value | { name : "solr_facets_category", type : "GAUGE", help : "Category facets", label_names : ["collection", "term"], label_values : ["collection1", $term], value : $value } {code} > Add Solr metrics exporter for Prometheus to contrib directory > ------------------------------------------------------------- > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Affects Versions: 7.2 > Reporter: Minoru Osuka > Priority: Minor > Fix For: master (8.0) > > Attachments: SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org