- Filter, rename, and drop Prometheus metrics that pass through it by using Prometheus’s relabeling rules, based on specific label/value pairs.
- Add global labels to
all Prometheus metrics the Collector ingests. For example, you can append all
Prometheus metrics passing through a particular Collector with the label
service="col1". - Receive traces from your services, such as OpenTelemetry spans and other popular open source formats like Jaeger and Zipkin.
Chronosphere supports Chronosphere Collector versions for a year from release. You
can find a full list of versions and release dates in the Collector release notes
located in the Chronosphere Observability Platform. To view the release notes, in the
navigation menu select
More information > Release notes,
and then click the Collector tab.
Get started
The Collector supports IPv4, IPv6, or fully qualified domain names for a single endpoint. To get started with the Collector:- Review the architecture to determine how you want to install the Collector.
- Install the Collector, either to retrieve metric data or receive trace data.
- Verify and monitor the Collector to ensure your data is streaming in to Observability Platform.
- Configure service discovery to discover other apps to scrape metrics from.
- Enable recommended optimizations and modify default settings.
- Optional: Ingest additional metrics such as DogStatsD, Graphite, Prometheus, or Pushgateway.
jobs
configuration.
Architecture
You can install the Collector with Kubernetes as a DaemonSet, Deployment, or as a sidecar. Each of these models have advantages and disadvantages, with different architectures.DaemonSet
Installing the Collector as a Kubernetes DaemonSet is a pull-based model, where the Collector scrapes endpoints using either annotations orServiceMonitors. With this
method, you deploy a Collector on every node in your cluster. This method is the
recommended way to install the Collector to receive metrics.
Advantages
Because the Collector resides on the same Kubernetes node as your app, latency is low. As your cluster grows, deploy a Collector on each new node to scale your cluster horizontally. Installing one Collector per node also means that you’re less likely to overload any single Collector. This method allows for phased rollouts of new Collector versions and configuration changes to help avoid losing scrape coverage. Also, if you lose a node, you’re only losing metrics for that node and not your entire cluster.Disadvantages
Some environments, such as AWS Fargate, restrict you from deploying an app as a DaemonSet. Kubernetes applies resource requirements globally across your cluster, which means that DaemonSets can evict other applications from the node depending on prioritization. Also, DaemonSets don’t deal well with noisy scrape endpoints, such askube-state-metrics.