If you’re a Site Reliability Engineer (SRE), you’re familiar with the challenges of gathering operational data to identify issues. Sure, there are a plethora of point solutions you could use, but each solves only a specific challenge, and you’re often left with tool sprawl. What you really need is a simple way to send metrics to a single data store and the ability to visualize them anywhere.
Veneur, an open source tool built by Stripe, is a vendor-agnostic proxy-based metric collection pipeline that consolidates disparate observability data, including StatsD or DogStatsD metrics, trace spans, and synthetic checks. With Veneur you get:
- Reduced data ingestion and storage costs by pre-aggregating metrics (such as timers) into percentiles
- Improved efficiency over other metric aggregator implementations because vendors charge based on the number of metrics they consume
- Improved reliability by building a more resilient forwarding system over single points of failure
We’ve created a Veneur sink, which allows you to build a pipeline to send metrics to New Relic. For example, if you’re monitoring your servers with DogStatsD, you can easily switch pipelines and send that data to our Telemetry Data Platform—a single database where you can alert on and analyze that data to detect and resolve issues faster.
In the rest of this post, you’ll learn how to configure the Veneur sink to send data to the Telemetry Data Platform.
Install the New Relic Veneur sink
Tip: You can also follow along in our working example.
- Start the Veneur Docker image. You’ll need to export the New Relic specific variables, and add your insert key and account ID:
export VENEUR_NEWRELICINSERTKEY='add your key here ' export VENEUR_NEWRELICACCOUNTID=add your account ID here export VENEUR_NEWRELICREGION='us'
- Copy and paste the following to kick off the Veneur Docker container:
docker run --rm -it \ --name veneur-docker \ -p 8126:8126/udp \ -p 8127:8127/tcp \ --net=host \ -e VENEUR_NEWRELICINSERTKEY \ -e VENEUR_NEWRELICACCOUNTID \ -e VENEUR_NEWRELICREGION \ -e VENEUR_SIGNALFXAPIKEY='' \ -e VENEUR_DATADOGAPIKEY='' \ -e VENEUR_FALCONERADDRESS='' \ -e VENEUR_XRAYADDRESS='' \ -e VENEUR_DEBUG=true \ stripe/veneur:13.2.0
View your metrics from Veneur in New Relic
Now that you’ve got the pipeline running, it’s time to send some metrics through Veneur sink and visualize them in New Relic.
- Go to one.newrelic.com, and in the upper right-hand corner, click Query your data and then click Query builder.
- In the query builder enter the following query:
SELECT count(`veneur.worker.span.flush_duration_ns.90percentile`) FROM Metric TIMESERIES SINCE 1800 seconds ago
Once data is coming into New Relic, navigate to the data explorer (click Query your data > Data explorer), and search for Veneur metrics:
Congratulations, you now have data from Veneur flowing into the New Relic Telemetry Data Platform—these could even be DogStatsD metrics, events, and service checks.
Now that you have runtime data in New Relic, you might consider combining these metrics with business-relevant events, logs, and traces from tail-based infinite tracing.
Try out Veneur and other integrations today
If you’re not already a New Relic user, there’s no better time to get started. You can send 100 GB per month to the Telemetry Data Platform and enjoy complete access to all of New Relic—free forever. Sign up and create your free account today.