Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

SingleStore OpenTelemetry metrics example setup

This example shows a setup for running a prometheus OpenTelemetry Collector in a docker container to scrape metrics from your SingleStore environment and post them the New Relic OTLP Collector Endpoint.

TODO: add link to doc site when available

Prerequisites

  1. You must have a Docker daemon running.
  2. You must have Docker compose installed.
  3. You must have a SingleStore workspace running.

Running the example

First, set your environment variables in the .env file in this directory. For more information on the individual variables, reference the docs available below.

Once the variables are set, run the following command from the root directory to start the collector.

cd ./other-examples/collector/singlstore

docker compose up

Local Variable information

Variable Description Docs
NEW_RELIC_API_KEY New Relic Ingest API Key API Key docs
NEW_RELIC_OTLP_ENDPOINT Default US OTLP endpoint is https://otlp.nr-data.net OTLP endpoint config docs
SINGLESTORE_ORG ID of your SingleStore Organization SingleStore Organization docs
SINGLESTORE_WORKSPACE_GROUP ID of your SingleStore Workspace Group SingleStore workspace docs
SINGLESTORE_API_KEY SingleStore API Key SingleStore API Key docs