janhoy opened a new pull request, #984: URL: https://github.com/apache/solr/pull/984
https://issues.apache.org/jira/browse/SOLR-16340 * Added label `cluster_id` on all metrics from exporter * Added filter (template) for `cluster_id` in grafana board * Defaults to `base_url` or `zk_host`, but can be overridden by `--cluster-id foo` or `--id foo` command line Lacks a test for the actual setting of `clusterId` and argument parsing, since existing junit tests do not invoke the exporter through shell. I keep `clusterId` as a static var on `SolrExporter.java` to avoid passing it through all kinds of intermediate method calls to `SolrScraper`, but there is probably a more elegant and more testable way.. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
