Skip to main content

Quick Start

Get telemetry flowing into xScaler in a few steps. xScaler accepts metrics, logs, and traces — start with whichever signal matters most to you.

Prerequisites

Before you begin, locate the following in your xScaler portal → Settings → API Tokens:

ValueDescription
Regione.g. euw1-01
Tenant IDYour X-Scope-OrgID value
API tokenYour Authorization: Bearer token

:::warning Both headers are required on every request Every request to xScaler — reads and writes, all signals — must include:

Authorization: Bearer <token>
X-Scope-OrgID: <tenant-id>

If X-Scope-OrgID is missing, the backend returns 400 Bad Request ("no org id"). If Authorization is missing or invalid, it returns 401 Unauthorized. :::


Step 1 — Verify connectivity

Send a test query to confirm your credentials work:

# Metrics
curl "https://euw1-01.m.xscalerlabs.com/api/v1/query" \
-H "Authorization: Bearer <token>" \
-H "X-Scope-OrgID: <tenant-id>" \
--data-urlencode 'query=up'

# Logs
curl "https://euw1-01.l.xscalerlabs.com/api/v1/logs/labels" \
-H "Authorization: Bearer <token>" \
-H "X-Scope-OrgID: <tenant-id>"

A 200 response with "status": "success" confirms authentication and connectivity.


Step 2 — Send telemetry

Metrics

I use…Guide
PrometheusPrometheus remote_write
Grafana AlloyGrafana Alloy
OpenTelemetry CollectorOpenTelemetry Collector
Python / Node.js / GoOTel SDKs

Logs

I use…Guide
Grafana AlloyGrafana Alloy
OpenTelemetry CollectorOpenTelemetry Collector
Python / Node.js / GoOTel SDKs

Traces

I use…Guide
Grafana AlloyGrafana Alloy
OpenTelemetry CollectorOpenTelemetry Collector
Python / Node.js / GoOTel SDKs

Step 3 — Connect Grafana

Once telemetry is flowing, visualise it in Grafana:

SignalData source typeURL
MetricsPrometheushttps://euw1-01.m.xscalerlabs.com
LogsLokihttps://euw1-01.l.xscalerlabs.com
TracesTempohttps://euw1-01.t.xscalerlabs.com

Add Authorization: Bearer <token> and X-Scope-OrgID: <tenant-id> as custom HTTP headers on each data source.

See the full walkthrough: Metrics · Logs · Traces


Common errors

ErrorCauseFix
400 no org idX-Scope-OrgID header missingAdd -H "X-Scope-OrgID: <tenant-id>"
401 UnauthorizedToken missing or malformedCheck format: Bearer <token> (capital B, space)
403 ForbiddenToken scope too narrowGenerate a read+write token from the portal

See Troubleshooting for a full symptom guide.