Create bare exporter for allowing metrics to be arbitrarily collected. #254
Labels
C-exporter
Component: exporters such as Prometheus, TCP, etc.
E-intermediate
Effort: intermediate.
S-future-work
Status: valid as a potential future work item, but not currently prioritized
T-enhancement
Type: enhancement.
T-refactor
Type: refactor.
Over time,
metrics-exporter-prometheus
has received the lion's share of features and updates: clearing idle metrics, handling aggregation of histogram data, and so on.While most people can use a Prometheus exporter to integrate with their existing observability pipelines, some users have requested the ability to access the metric data stored by
metrics-exporter-prometheus
directly from their applications, but with all transformations, aggregations, etc, still present.One PR (#236) sought to add this capability directly to
metrics-exporter-prometheus
but this sort of flies in the face of the entire point of a Prometheus-specific exporter. However, with a small bit of work, we could likely abstract this functionality frommetrics-exporter-prometheus
and create a new exporter that only provides the ability to access the metrics after processing idle metrics, aggregation, and so on.Additionally, this would make it easier to design other exporters since most of the common necessities -- don't send idle metrics, send histograms in whatever the most granular form accepted is, etc -- could be abstracted and then refactored slightly to become more like stackable middleware than specific/hard-coded bolt-ons to certain exporters.
The text was updated successfully, but these errors were encountered: