prometheus-exporter-plugin-for-opensearch icon indicating copy to clipboard operation
prometheus-exporter-plugin-for-opensearch copied to clipboard

migration instructions when coming from ES exporter

Open rursprung opened this issue 3 years ago • 3 comments

is there a list of things (relevant for consumers) which changed between the original ES plugin (on 7.10.2) and this one? i can see that starting with #10 the default prefix is now opensearch_ and not es_ anymore (but can be configured). it might be good if a small migration guide (ES 7.10.2 -> OpenSearch 1.x -> OpenSearch 2.x) could be added to the README. thanks!

rursprung avatar May 06 '22 10:05 rursprung

Good idea. Right now the migration should be simple (except the prefix as you pointed out).

lukas-vlcek avatar May 06 '22 11:05 lukas-vlcek

For opensearch 2.1.0 version, apart from prefix I see many metrics not showing up in-comparison to ES exporter.

Ex: all health related metrics.

elasticsearch_cluster_health_active_primary_shards

ervikrant06 avatar Aug 10 '22 10:08 ervikrant06

Hi @ervikrant06

Is it the same metric that is pulled from ClusterHealth response? See: https://github.com/aiven/prometheus-exporter-plugin-for-opensearch/blob/8f24ffbf3fc0965027b360ff3cd6eb71d53c9a45/src/main/java/org/compuscene/metrics/prometheus/PrometheusMetricsCollector.java#L114

Regards, Lukáš

lukas-vlcek avatar Aug 10 '22 12:08 lukas-vlcek