Datadog
Native integration with Datadog’s metrics API
New Relic
Stream via OpenTelemetry Protocol (OTLP)
Splunk
Stream via OpenTelemetry Protocol (OTLP)
Prerequisites
Before setting up a metric stream, you need:-
Auth0 Management API access: Create a Machine-to-Machine (M2M) application with the following permissions:
read:event_streamscreate:event_streamsupdate:event_streamsdelete:event_streamsread:event_deliveriesupdate:event_deliveries
- Auth0 CLI: Install the Auth0 CLI to configure metric streams via API commands.
- Monitoring platform account: An active account with one of the supported platforms.
Set up Datadog
Stream Auth0 metrics directly to Datadog using their native metrics API.Prerequisites
- Active Datadog account
- Datadog API key (generate at Organization Settings > API Keys in Datadog)
- Your Datadog site (region identifier like
US1for app.datadoghq.com,EUfor app.datadoghq.eu,US3for us3.datadoghq.com)
Create metric stream
- Dashboard
- CLI
Navigate to Metric Streams:
- Go to Auth0 Dashboard > Monitoring > Metric Streams.
- Select + Create Metric Stream.
- Select Datadog.
- Name: Enter a descriptive name (e.g.,
datadog-production). - Datadog Site: Select your Datadog region from the dropdown:
US1for app.datadoghq.comUS3for us3.datadoghq.comUS5for us5.datadoghq.comEUfor app.datadoghq.euAP1for ap1.datadoghq.com
- Datadog API Key: Paste your Datadog API key.
- Select Save.
Verify in Datadog
Within a few minutes, Auth0 metrics appear in Datadog. Navigate to Metrics > Explorer and search forauth0.api_request.count to view your data.
Manage streams
- Dashboard
- CLI
View all streams:
- Go to Auth0 Dashboard > Monitoring > Metric Streams.
- All configured streams are listed with their Destination, Status, Name, and Subscriptions.
- Select the stream name from the list.
- Update the configuration.
- Select Save.
- Choose the Toggle switch in the Status column to enable or disable the stream.
- Disabled streams stop sending metrics but retain their configuration.
- Select the stream name from the list.
- Select Delete at the bottom of the configuration page.
- Confirm deletion.
Set up New Relic
Stream Auth0 metrics to New Relic using OpenTelemetry Protocol (OTLP).Get New Relic credentials
1
Find your OTLP endpoint
Refer to New Relic’s OTLP documentation to find your region-specific endpoint:
- US:
https://otlp.nr-data.net - EU:
https://otlp.eu01.nr-data.net
2
Create ingest license key
- Go to [your user menu] > API Keys.
- Select Create a key.
- Select Key Type = Ingest - License.
- Enter a descriptive name and optional note.
- Select Create a key.
- Copy the API key immediately. You need it for later steps and it won’t be shown again.
Create metric stream
- Dashboard
- CLI
Navigate to Metric Streams:
- Go to Auth0 Dashboard > Monitoring > Metric Streams.
- Select + Create Metric Stream.
- Select OpenTelemetry.
- Name: Enter a descriptive name (e.g.,
newrelic-production). - Protocol: Select HTTP from the dropdown.
- OTLP Endpoint: Paste your New Relic OTLP endpoint (e.g.,
https://otlp.nr-data.net). - Authentication Method: Select API Key from the dropdown.
- Header Name: Enter
api-key. - API Key: Paste your New Relic Ingest License Key that you copied from previous steps.
- Select Save.
Set up Splunk
Stream Auth0 metrics to Splunk Observability Cloud using OpenTelemetry Protocol (OTLP).Get Splunk credentials
1
Find your OTLP endpoint
Refer to Splunk’s OTLP HTTP Exporter documentation to find your endpoint.The endpoint format is:Replace
<REALM> with your Splunk realm (e.g., us1, eu0, jp0).2
Create access token
- Navigate to Settings > Access Tokens > New Token.
- Enter a descriptive name.
- Set Authorization Scope to INGEST (required).
- Set token expiration.
- Select Create.
- Copy and securely store the token value. You need this value for later steps.
Create metric stream
- Dashboard
- CLI
Navigate to Metric Streams:
- Go to Auth0 Dashboard > Monitoring > Metric Streams.
- Select + Create Metric Stream.
- Select OpenTelemetry.
- Name: Enter a descriptive name (e.g.,
splunk-production). - Protocol: Select HTTP from the dropdown.
- OTLP Endpoint: Paste your Splunk OTLP endpoint (e.g.,
https://ingest.us1.signalfx.com/v2/datapoint/otlp). - Authentication Method: Select API Key from the dropdown.
- Header Name: Enter
X-SF-TOKEN. - API Key: Paste your Splunk access token (from Step 2 above).
- Select Save.
Troubleshooting
Metrics not appearing
Check stream status:- Dashboard
- CLI
- Go to Auth0 Dashboard > Monitoring > Metric Streams.
- Find your metric stream in the list.
- Verify the Status column shows Enabled.
- Select the stream name to view detailed configuration and verify settings.
- Datadog: Confirm your API key is valid and the site URL matches your Datadog region
- OTLP destinations: Verify endpoint URL, authentication token, and header name are correct
High monitoring costs
If you’re seeing unexpectedly high costs:- Review which tags you’re using in queries and dashboards.
- Consider removing
client_idandconnection_idfrom aggregations. - Use sampling or filtering in your monitoring platform to reduce ingested metrics.
- Aggregate by higher-level tags like
apiandoperation_resultinstead of granular tags.