--- title: "Telemetry collectors (Local development)" slug: "telemetry-collectors-local-development" tags: ["Local Development"] updated: 2025-07-14T21:12:52Z published: 2025-07-14T21:12:52Z canonical: "legacy-docs.strata.io/telemetry-collectors-local-development" --- > ## Documentation Index > Fetch the complete documentation index at: https://legacy-docs.strata.io/llms.txt > Use this file to discover all available pages before exploring further. # Telemetry collectors (Local development) The Orchestrator emits telemetry using [OpenTelemetry](https://opentelemetry.io) (OTLP). To setup your Orchestrator to emit telemetry, first see [Telemetry Config](/). This document lists examples of how to configure certain OTLP collectors to receive Orchestrator telemetry. The Orchestrator emits telemetry in OTLP format. [Several vendors](https://opentelemetry.io/ecosystem/vendors/) offer native OTLP collectors you can use to review Orchestrator telemetry. Users may deploy a co-located OpenTelemetry collector to collect, aggregate and process telemetry from the Orchestrator. Please review the [local dashboard](/docs/telemetry-collectors-local-development#local-dashboard) section to see how an example of running a observability stack locally to visualize the telemetry from an Orchestrator. > [!NOTE] > The default port for OTLP HTTP collectors is 4318. This port is used in the examples below; Be sure to use an appropriate port for your Orchestrator system. ## New Relic [New Relic](https://newrelic.com) is a cloud-based observability platform. This guide shows the basic steps for connecting the Orchestrator to New Relic. See also the [New Relic OpenTelemetry guide](https://docs.newrelic.com/docs/more-integrations/open-source-telemetry-integrations/opentelemetry/get-started/opentelemetry-set-up-your-app/) for additional detail. ### Account setup To setup New Relic to collect Orchestrator Telemetry, you'll first need to [setup an online account](https://newrelic.com/signup). ### API key To connect the Orchestrator to your New Relic account, first create an [API Key](https://docs.newrelic.com/docs/apis/intro-apis/new-relic-api-keys/). The Orchestrator sends this API Key as a header in the data transmitted to New Relic. New Relic verifies the API Key with your account, then allows the Orchestrator metrics data into your online datastore. ### TLS certificates New Relic requires TLS for HTTP security. You can reuse the certificate/key pair defined for the [http server](/v1/docs/http-server-3) (normally named `maverics`), or set up TLS certificates specifically for the Telemetry service. See the [Transport Security (TLS)](/v1/docs/transport-security-tls-1) section for instructions on setting up certificates and keys. ### Orchestrator configuration Once you have a New Relic account, your API Key, and the TLS certificates, you can configure the Orchestrator to output metrics to your New Relic account. Edit your `maverics.yaml` Orchestrator configuration file to include a section similar to the following: ```yaml telemetry:  metrics:    readers:      - periodic:          exporter:            otlp:              protocol: http/protobuf              endpoint: https://otlp.nr-data.net:4318              insecure: false              timeout: 5000              headers:                - name: x-api-key                  value:          interval: 5000          timeout: 1000 ``` ## DataDog [DataDog](https://www.datadoghq.com/) is "the essential monitoring and security platform for cloud applications." This guide will show the basic steps to emit Orchestrator metrics to DataDog. DataDog also has OpenTelemetry support [documentation online](https://docs.datadoghq.com/opentelemetry/). For more technical information about OpenTelemetry and the DataDog agent, [refer to their documentation](https://docs.datadoghq.com/opentelemetry/). ### Account setup To connect the Orchestrator to DataDog, you must first have a DataDog account. You can get a free account [on the DataDog website](https://www.datadoghq.com/) by clicking on the "Get Started" button. ### API key To emit Orchestrator metrics to your DataDog account, the Orchestrator needs to know your DataDog application (API) key. To create a new application key, first log in to DataDog, then navigate to your [organization application keys](https://app.datadoghq.com/organization-settings/api-keys). Use a descriptive name for your key, such as "Maverics Orchestrater OTLP Machine 1" to remind you what the key is used for. ### DataDog agent #### Install the DataDog agent To collect data from the Orchestrator, DataDog requires you to run their agent. You must install the DataDog agent for your OS onto the same system where the Orchestator is running. The DataDog agent installation instructions can be found [on their documentation](https://docs.datadoghq.com/agent/basic_agent_usage/?tab=agentv6v7). At the bottom of the installation page for your OS, you'll see a "step-by-step" instruction link. Expand this link and find the location of the `datadog.yaml` file on your system; you'll need to update this file in the next section. #### Configure the DataDog agent To enable the DataDog agent to collect OTLP metrics, you must edit your `datadog.yaml` agent configuration file, and restart the agent. (See the section above for finding the `datadog.yaml` file on your system.) In `datadog.yaml` find the section named `OpenTelemetry Configuration` section and update it to include the following lines: ```yaml otlp_config:  receiver:    protocols:      http:        endpoint: 0.0.0.0:4318 ``` In the original `datadog.yaml` file, we recommend you simply add the above yaml lines, and leave the existing `otlp_config` section commented out, for future reference. For more information on the DataDog OTLP, [refer to their documentation](https://docs.datadoghq.com/opentelemetry/). You can also reference the DataDog installation instructions above for more DataDog agent information. > [!NOTE] > We've used the recommended port `4318` here. Use an appropriate port for your system. In the Orchestrator Configuration section below, be sure to use the actual port you specified in the DataDog Agent configuration here. #### Restart the DataDog agent With the `datadog.yaml` file updated to enable OTLP metrics, you'll need to restart the DataDog Agent. Follow the directions for restarting your agent from the Agent Installation section above. For example, on a Fedora system, run `sudo systemctl restart datadog-agent` ## Orchestrator configuration Now that the DataDog agent is installed and running, configure your Orchestrator to emit metrics to the agent, listening on the endpoint you configured above. Edit your `maverics.yaml` Orchestrator configuration file to include a section similar to the following: ```yaml telemetry:  metrics:    readers:      - periodic:          exporter:            otlp:              protocol: http/protobuf              endpoint: https://0.0.0.0:431              insecure: false              timeout: 5000              headers:                - name: x-api-key                  value:          interval: 5000          timeout: 1000 ``` Restart the Orchestrator to read your new telemetry configuration, then navigate to your DataDog account to see Orchestrator metrics. > [!NOTE] > The DataDog emits metrics only as often as it is configured to do so. To change your DataDog agent telemetry configuration, refer to their documentation. ## Reading Orchestrator metrics in DataDog You'll need to setup either a dashboard or other monitor to read Orchestrator metrics. Refer to [their dashboard documentation](https://docs.datadoghq.com/opentelemetry/otlp_ingest_in_the_agent/?tab=host#out-of-the-box-dashboards) for more information. To ensure DataDog is receiving Orchestrator metrics, navigate to the Metrics Explorer and search for metrics from `service: io.strata.maverics`. ## Local dashboard This configuration is useful for basic local testing and can be used as a starting point for configuring your own OTLP stack. You can view Orchestrator metrics locally by using [Docker Compose](https://docs.docker.com/compose/) and some basic configuration for Prometheus, Grafana, and the OpenTelemetry Collector provided in a downloadable archive. 1. Download and extract the [**grafana_dashboard.zip** archive](https://assets.strata.io/grafana_dashboard.zip). 2. From within the directory, run `docker compose up`. 3. Start the Orchestrator with [telemetry configured](/#complete-example). An example Orchestrator configuration file is included in the archive. The OpenTelemetry collector will be listening on `http://localhost:4318`. 4. Once all containers have started successfully, navigate to the [Maverics System Dashboard in Grafana](http://localhost:3000/grafana/d/BruRnhYVz3/maverics-system-dashboard). > [!NOTE] > Dashboard items showing host metrics (CPU, Memory) are available only on Windows and Linux systems.