New Relic
How to send Tyk Gateway traces to New Relic
Tyk uses OpenTracing to send Tyk Gateway traces to New Relic via the Zipkin format. Support for OpenTelemetry is on the near-term roadmap for us. More information can be found on this community post.
Note
The CNCF (Cloud Native Foundation) has archived the OpenTracing project. This means that no new pull requests or feature requests are accepted into OpenTracing repositories.
While support for OpenTelemetry is on our near-term roadmap, you can continue to leverage OpenTracing to get timing and data from Tyk in your traces.
Configuring New Relic
In tyk.conf
on tracing
setting
{
"tracing": {
"enabled": true,
"name": "zipkin",
"options": {}
}
}
options
are settings that are used to initialise the Zipkin client.
Sample configuration
{
"tracing": {
"enabled": true,
"name": "zipkin",
"options": {
"reporter": {
"url": "https://trace-api.newrelic.com/trace/v1?Api-Key=NEW_RELIC_LICENSE_KEY&Data-Format=zipkin&Data-Format-Version=2"
}
}
}
}
reporter.url
is the URL to the New Relic server, where trace data will be sent.