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: