Data Stream indexing/search/delete metrics
Enriches the --collector.data-stream collector with 10 new metrics aggregated from backing indices, making it self-sufficient without needing --es.indices (which causes high cardinality per backing index).
New metrics (elasticsearch_data_stream_stats_*, label: data_stream)
| Metric | Type |
|---|---|
indexing_index_total |
Counter |
indexing_index_time_seconds_total |
Counter |
indexing_index_current |
Gauge |
indexing_delete_total |
Counter |
indexing_delete_time_seconds_total |
Counter |
search_query_total |
Counter |
search_query_time_seconds_total |
Counter |
search_fetch_total |
Counter |
search_fetch_time_seconds_total |
Counter |
docs_total |
Gauge |
Other changes
- Removed debug
fmt.Printfstatement - Added GHCR build workflow (
ghcr.io/freepik-company/elasticsearch-exporter) - Added multi-stage
Dockerfile.ghcrfor multi-arch builds (amd64/arm64)