This page answers common questions about collector observability and describes its limitations.
What distribution and version of the collector is supported?
The experience uses the core internal telemetry emitted by the collector, so generally any collector distribution should enable the experience unless the authors of the distribution actively diverge from this standard.
When it comes to versions, the OpenTelemetry community is still stabilizing the telemetry and is reserving the right to make breaking changes during minor releases. Therefore, we can only guarantee support for releases we actively test on an ongoing basis. We document the distributions and versions that were tested in our aggregated NRDOT release notes using the label "Collector Observability", e.g. Collector Observability 1.0.0.
The oldest distributions the experience supports are opentelemetry-collector-contrib:0.129.1 and nrdot-collector:1.3.0.
Which export formats are supported?
We fully support telemetry emitted via the internal otlpexporter and recommend adopting this format.
We do not provide official support for metrics exported via Prometheus, but we do our best to ensure the experience still works as expected. We rewrote the queries to support the differing metric names, and there are currently no known limitations for Prometheus.
Why are traces disabled by default in the example configuration?
The collector's internal traces are disabled by default for these reasons:
- Traces are not mature. Not all components are instrumented. See this GitHub issue.
- The overhead is unpredictable. It varies with the workload and with the batching configuration of upstream agents and collectors.
- No adaptive sampling algorithm is available. This makes it impossible to give a universal sampling recommendation that does not risk unexpected costs for certain use cases.
- While you can enable them to use existing experiences like Distributed Tracing, this documentation is focused on the new Collector Observability experience, which does not rely on traces.
Why don't I see the custom metrics of my collector components?
Custom or contrib components are usually instrumented to emit the standard internal component metrics, which are surfaced in the experience. However, they can also emit custom metrics, for example in the filterprocessor, which are not supported by the experience. They can still be ingested and are available via NRQL.
Why doesn't New Relic detect my collector?
New Relic detects a collector from the presence of collector-specific metrics, so auto-detection does not work if your collector sends only logs or traces. If you want to use the new experience, which relies on metrics, you need to enable them. However, if you intentionally disabled metrics, you can still access your data in the usual ways.
Why does my collector show the wrong view mode?
In Automatic mode, New Relic analyzes the entity's telemetry to determine whether there is telemetry that a collector would not emit. If there is, it classifies the entity as an Attached Collector. However, if the sibling application's telemetry is too similar to what a collector would emit, this heuristic can wrongly classify the entity as a Standalone Collector instead.
When this happens, use the options described in Set the mode to switch to the correct experience.
How do I set the view mode for many collectors at once?
Leave the mode configured as Automatic and set the entity tag otelCollector.viewModeIac to standalone or attached. There are a few ways to set tags at scale:
Option 1: Set
otelCollector.viewModeIacas a resource attribute of the collector's internal telemetry, so that New Relic synthesizes the tag on ingest for you. This option requires no extra tooling, but it does contribute to your ingest volume.service:telemetry:resource:otelCollector.viewModeIac: standalone # or attachedInstead of modifying your config file, you can also pass the argument
--config=yaml:service::telemetry::resource::otelCollector.viewModeIac: standalone(orattached) to the collector. Note that the tag is only cached temporarily, so if your collector stops reporting the attribute, the tag will expire after one day.Option 2: Use the Terraform provider.
Option 3: Use the New Relic CLI.
Can my collector and my application share the same service name?
Yes, this is what Attached Collector mode is for. However, we recommend against it. A collector is a fully-fledged application that emits telemetry adhering to the OTel semantic conventions. If the collector and the application share the same service.name, the boundaries between them can become impossible to distinguish from the perspective of telemetry. This has side effects in the experience:
- Aggregate metrics like throughput or error rate become less meaningful because they are calculated from a blend of application and collector metrics.
- Capabilities like transactions and external services show a union of both application and collector data. You need knowledge about implementation details to interpret the data. For example, transaction names are often driven by the names of HTTP routes. To know which transactions belong to the application or the collector, you need to know which routes each one implements.
If your collector has a different service.name, New Relic synthesizes a dedicated entity for it. You can then use Standalone Collector mode. See Choose your collector's view mode.
What happened to the standard APM Summary page?
The standard view is driven by transaction-scoped apm.* metrics. The community is still working on stabilizing collector telemetry, so we have not been able to come up with a solid notion of a transaction that would provide an intuitive experience. Instead, we rely on the native telemetry emitted by the collector and put it front and center with the KPI tiles.