Skip to main content
Artie can send pipeline metrics to Datadog, New Relic, Amazon CloudWatch, Grafana, or any endpoint that accepts OpenTelemetry (OTLP) over HTTP. You can then monitor throughput, lag, flush behavior, and replication health alongside your existing telemetry. You can also connect PagerDuty so Artie alerts open incidents on one of your services.

Datadog

For Datadog setup instructions and the available metrics, see the Artie integration in Datadog.

OpenTelemetry

The OpenTelemetry integration sends Artie metrics to one destination at a time:
  • New Relic: OTLP, authenticated with your license key.
  • Amazon CloudWatch: OTLP, authenticated by Artie assuming an IAM role in your AWS account.
  • Grafana: Grafana Cloud or a self-hosted endpoint, over Prometheus remote write.
  • Other OTLP endpoint: any OTLP/HTTP collector or vendor, authenticated with headers you provide.
You can use it alongside the Datadog integration.

What you’ll need

  • Company admin access in Artie.
  • Credentials for your destination, described in its section below.
  • For OTLP and remote-write endpoints you enter yourself: an HTTPS URL on port 443 with a publicly trusted certificate, reachable from the public internet. Artie does not send metrics to private, loopback, or link-local addresses.

Connect a destination

1

Open integrations

In Artie, open Settings and select Integrations.
2

Choose a destination

On the OpenTelemetry row, select Connect, then choose New Relic, Amazon CloudWatch, Grafana, or Other OTLP endpoint.
3

Enter credentials

Fill in the fields for that destination. See New Relic, Amazon CloudWatch, Grafana, or Other OTLP endpoint.
4

Connect

Select Connect. Artie sends an empty request to check that the destination accepts the credentials, then stores them encrypted at rest. Credentials are not displayed after connection.
The row then shows the connected destination. Metrics appear after the next export run. To switch destinations, disconnect the current one first.

New Relic

  1. In New Relic, create or copy an ingest license key for the account that should receive Artie metrics.
  2. In the Artie connect dialog, choose New Relic.
  3. Select US or EU to match your New Relic data center.
  4. Paste the key into License key (ingest) and select Connect.
Artie sends the key as the api-key header to https://otlp.nr-data.net/v1/metrics (US) or https://otlp.eu01.nr-data.net/v1/metrics (EU). For more on keys, see New Relic API keys.

Amazon CloudWatch

Artie sends metrics to CloudWatch’s OTLP endpoint, https://monitoring.<region>.amazonaws.com/v1/metrics, and signs each request with credentials from an IAM role that you create. You don’t share AWS access keys with Artie.
1

Choose CloudWatch and a region

In the Artie connect dialog, choose Amazon CloudWatch and select the AWS region that should receive metrics. GovCloud and China regions are not supported.
2

Create the IAM role

Create an IAM role with the trust policy shown in the dialog. It lets Artie assume the role only when it presents the external ID shown in AWS external ID:
Replace my-external-id with the value in AWS external ID. The dialog fills in a random external ID. You can replace it with your own value of 2 to 1,224 letters, digits, or +=,.@:/-_. The trust policy in the dialog updates to match.
3

Attach the permissions policy

Attach this permissions policy to the role:
4

Connect

Paste the role’s ARN into AWS role ARN, confirm AWS external ID matches the trust policy, and select Connect.
Metrics sent to CloudWatch are billed as custom metrics in your AWS account. See CloudWatch OTLP endpoints for CloudWatch’s OTLP support and limits.

Grafana

Artie sends metrics to Grafana Cloud Metrics, or to a self-hosted Prometheus-compatible endpoint, with Prometheus remote write. You do not need to run Prometheus, Grafana Alloy, or a collector.

Grafana Cloud

  1. In Grafana Cloud, open your stack and select the Prometheus or Metrics card.
  2. Select Details and copy the Metrics remote-write URL and Metrics instance ID. The remote-write URL ends in /api/prom/push.
  3. Create an access-policy token that can write metrics, then copy the token.
  4. In the Artie connect dialog, choose Grafana, enter the Remote write URL, Username or instance ID, and Access token or password, then select Connect.
Grafana Cloud Metrics details showing the remote-write endpoint, Metrics instance ID, and API token controls After the next export run, query the artie_* metrics in Grafana Cloud.

Self-hosted Prometheus remote write

You can also send metrics to a self-hosted remote-write endpoint, such as Grafana Mimir, Prometheus with the remote-write receiver enabled, or VictoriaMetrics, and query them from your own Grafana.
  • Remote write URL: your endpoint’s HTTPS push URL, for example https://mimir.example.com/api/v1/push.
  • Username or instance ID: the basic-auth username. Leave it empty to send the token as a bearer token instead.
  • Access token or password: the basic-auth password or bearer token.

Import the Artie dashboard

Artie’s Datadog integration dashboard organizes rows processed, performance, and database-health metrics. The Grafana dashboard uses the same six exported Artie metrics.
  1. Download the Artie Grafana dashboard JSON.
  2. In Grafana, open Dashboards and select New > Import.
  3. Upload the JSON file, select the Prometheus data source that receives Artie metrics, and select Import.
  4. Open the imported Artie Overview dashboard. It includes rows processed, ingestion lag, row lag, flush time, flush count, and replication slot size panels.
The dashboard groups series using labels Artie adds when they are available: pipeline, table, operation, reason, and slotname. It includes no credentials, data-source URL, or customer identifiers. Artie Overview Grafana dashboard showing rows processed, lag, flush, and replication slot metrics

Other OTLP endpoint

Use this for an OpenTelemetry Collector or any vendor that accepts OTLP over HTTP with protobuf encoding.
  1. In the Artie connect dialog, choose Other OTLP endpoint.
  2. Enter the full OTLP/HTTP metrics endpoint, including the path, for example https://collector.example.com/v1/metrics. Artie uses the URL as entered. It must not include credentials, a query string, or a fragment.
  3. Add the headers your endpoint needs for authentication, for example Authorization with the value Bearer <token>. Select Add header for more than one. Header names must be unique.
  4. Select Connect.
An OpenTelemetry Collector usually listens on port 4318. Because Artie only sends to port 443, put the collector’s OTLP/HTTP receiver behind an HTTPS listener on port 443.

Exported metrics

Artie exports the same six pipeline metrics to every destination. OTLP destinations receive dotted names. Grafana receives Prometheus-style names. Each data point carries the existing pipeline dimensions as attributes or labels, including pipeline, source, destination, data plane, table, operation, flush reason, and replication slot when available. OTLP requests set the resource attribute service.name to artie. For OTLP destinations, artie.rows_processed and artie.flush_count are one-minute delta sums. Each point is the total for that minute, so add points over time to get totals. Your destination must accept delta temporality; New Relic does. If an OpenTelemetry Collector forwards to a backend that only accepts cumulative sums, add the deltatocumulative processor. This integration sends metrics only, not logs or traces.
Artie preserves table-level dimensions from the Datadog integration. Each table can create additional active time series or custom metrics in your destination. Review your plan and usage when connecting pipelines with many tables.

Disconnect

In Settings > Integrations, select Manage on the OpenTelemetry row, then select Disconnect. Artie stops future exports. Also revoke the license key, IAM role, or token in your destination.

Troubleshooting

  • If Connect fails, confirm that the endpoint is publicly reachable over HTTPS on port 443 and that the credentials are correct. For Grafana Cloud, confirm the instance ID and token come from the same stack.
  • For CloudWatch, confirm that the role’s trust policy uses the same external ID shown in AWS external ID, and that the role has cloudwatch:PutMetricData.
  • For other OTLP endpoints, confirm that the endpoint accepts OTLP/HTTP with protobuf encoding at the exact URL you entered.
  • If metrics stop appearing, check that the key, token, or role still exists, then disconnect and connect again.

PagerDuty

Artie opens a PagerDuty incident on one of your services when a custom monitor with Also notify PagerDuty turned on fires. When you connect, Artie uses your API key to list your services, then adds an integration named Artie - Events V2 API to the service you pick. Artie keeps the key so it can show the connected service and remove that integration when you disconnect.

What you’ll need

  • Company admin access in Artie.
  • One of these PagerDuty keys:
    • A general access REST API key (recommended). Only a PagerDuty Admin or Account Owner can create one, under Integrations > API Access Keys > Create New API Key. Leave Read-only unchecked, because Artie has to add an integration to your service.
    • A personal API user token, if you aren’t a PagerDuty admin. Create it under your profile picture > My Profile > User Settings > Create API User Token. It has the same permissions as your PagerDuty user, so your role must let you edit the service’s integrations.
If API Access Keys is missing from the Integrations menu in PagerDuty, your PagerDuty user isn’t an Admin or Account Owner. Ask one to create the key, or use a personal API user token.

Connect PagerDuty

1

Open integrations

In Artie, open Settings and select Integrations.
2

Load your services

On the PagerDuty row, select Connect. Paste the key into API key and select Load services.
3

Pick a service

Choose the service that should receive alerts and select Connect.
4

Send a test alert

Select Manage > Send test alert and check that an incident opens on that service.
5

Turn it on in your monitors

In each custom monitor that should page you, turn on Also notify PagerDuty.
To disconnect, select Manage on the PagerDuty row, then select Disconnect. Artie removes its integration from your service. Also revoke the API key in PagerDuty.