Skip to main content

Export to Axiom via OpenTelemetry

Our Egress Webhook for Axiom allows you to send your API traffic to Axiom, in just a few easy steps.

Create an Axiom API Key & Dataset

Firstly, go to your Axiom account and create a new Axiom API Key, see Axiom’s API key documentation. Copy this API Key to be used in the APImetrics UI.

Also, you can create a new Dataset for your APImetrics data, following Axiom’s dataset documentation.

Add Axiom Webhook

Go to the Alerting section of the sidebar and select Alerts & Webhooks.

Sidebar Alerting section with the Alerts and Webhooks link highlighted

From here, select the Add new alert button.

APImetrics Alerts and Webhooks screen with an empty alerts list and the Add new alert button highlighted

From here, you can name your new Webhook and choose the Type as Axiom (OpenTelemetry API).

APImetrics alert editor with the Type dropdown open and Axiom (OpenTelemetry API) highlighted

You can now choose which API tags to Include and Exclude from the Webhook. To finish the setup, you will need to enter the Axiom API Key and the Axiom Dataset in their fields.

APImetrics Axiom alert editor highlighting the API Key and Axiom Data Set Name fields to complete

To finalise this Webhook, select the Save button and the Webhook will be finished.

APImetrics Axiom alert editor with API Key and Data Set Name filled in and the Save button highlighted