Skip to main content
Gå til innhold

Getting Started - External Services

If your application runs outside of Platon PaaS and Puppet-managed VMs - for example, in your own Kubernetes cluster, on cloud providers, or on manually managed servers - you need to send data to our backends with proper authentication.

Request Access

Contact the Platon team on #platon (Slack) with:

  1. Tenant name: A name for your team or product
  2. EntraID group: The Microsoft Entra ID group that should have access to Grafana

We will provide you with:

  • Username and password for authentication
  • Tenant name confirmation
  • Endpoint URLs

Authentication Requirements

All requests to our observability backends must include:

  1. Basic Authentication: Authorization: Basic <base64(username:password)>
  2. Tenant Header: X-Scope-OrgID: <your-tenant-name>

Endpoints

Endpoint URLs are provided by the Platon team for Loki (logs), Mimir (metrics) and Tempo (traces)

Sending Data

You can send observability data to our backends in several ways:

  • From a collector: Run a collector like Grafana Alloy, OpenTelemetry Collector, or Vector that gathers data and forwards it
  • Directly from your application: Configure your application or OpenTelemetry SDK to send data directly to the endpoints

Whichever approach you use, you need to include the authentication headers described above.

Example: OpenTelemetry Collector Configuration

extensions:
basicauth/client:
client_auth:
username: "<username>"
password: "<password>"

exporters:
otlphttp/loki:
endpoint: "https://<loki-endpoint>/otlp"
auth:
authenticator: basicauth/client
headers:
X-Scope-OrgID: "<your-tenant>"

service:
extensions: [basicauth/client]
pipelines:
logs:
exporters: [otlphttp/loki]

Example: Vector Configuration for Logs

sinks:
loki:
type: loki
endpoint: "https://<loki-endpoint>"
auth:
strategy: basic
user: "<username>"
password: "<password>"
labels:
tenant: "<your-tenant>"
out_of_order_action: accept
request:
headers:
X-Scope-OrgID: "<your-tenant>"

View Your Data

Once data is flowing:

  1. Go to grafana.platon.sikt.no
  2. Log in with Feide
  3. Select your organization
  4. Use Explore to query your data

Next Steps