You can configure the Collector to accept text-exposition payloads in either Prometheus or OpenMetrics formats. To enable the Prometheus and OpenMetrics ingestion for the Collector, addDocumentation Index
Fetch the complete documentation index at: https://chronosphere-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
importPrometheus and importOpenMetrics under the push YAML collection in the
Collector configuration:
/import/openmetrics and /import/prometheus from the
listenAddress, which defaults to 0.0.0.0:3030.
extra_label: pass in repeated, default labels for all time series, formatted asname=value.default_timestamp: provide a default timestamp in Unix milliseconds for any time series that doesn’t have one. Otherwise, the value defaults toNow()on the Chronosphere backend.
Export Prometheus assets
You can use Chronoctl to convert Prometheus assets for import into Observability Platform. For example, to retrieve, convert, and apply Prometheus alert rules to Observability Platform:-
In your Prometheus installation, retrieve your Prometheus rules and pipe them into a
.ymlfile: -
Convert the rules using Chronoctl:
-
Apply the rules to Observability Platform: