Skip to content

Prometheus on the Ametnes Platform#

This tutorial series covers provisioning an Ametnes Prometheus data service, connecting it to Grafana, and shipping metrics from Kubernetes or HashiCorp Nomad.

Topic Page
Scrape Kubernetes workloads and import K8s dashboards Kubernetes
Nomad telemetry, OpenTelemetry Collector, and Nomad dashboards Nomad

Prerequisites#

  • An Ametnes Platform account.
  • A configured Data Service Location.
  • Access to your Kubernetes and/or Nomad environments.

Provision Prometheus on Ametnes Platform#

  1. Sign in to the Ametnes Platform console.
  2. Click New Resource.
  3. Enter:
  4. Name: a unique name for your Prometheus service.
  5. Resource Kind: prometheus.
  6. Tier: choose a preset tier size that matches your expected ingestion and query load.
  7. Storage: choose capacity suited to your retention needs.
  8. Select your Data Service Location.
  9. Click Create.
  10. Save the generated connection details, endpoint, username, and password.

You do not select individual nodes, CPU, or memory, and you do not attach a separate Network Access resource for Prometheus.

Note

Ametnes Prometheus endpoints use HTTP Basic Authentication. For remote_write from agents or collectors, use a URL that includes credentials, for example https://<prometheus-username>:<prometheus-password>@<ametnes-prometheus-endpoint>/api/v1/write.

Connect Grafana to Prometheus#

Metrics are stored in Ametnes Prometheus; use Grafana (also provisioned on the platform) to explore and dashboard them.

  1. Provision a Grafana data service and note its URL and credentials.
  2. Open Grafana and sign in.
  3. Go to Connections (or Configuration) → Data sourcesAdd data source.
  4. Choose Prometheus.
  5. Set URL to your Ametnes Prometheus base URL, for example https://<ametnes-prometheus-endpoint> (no trailing slash; use the same host you use for the Prometheus UI or API).
  6. Under Auth, enable Basic auth and enter the User and Password from your Prometheus resource.
  7. If your platform uses TLS (recommended), set TLS/SSL Mode as required and save.
  8. Click Save & test. You should see a successful health check.

You can now build panels or import community dashboards. Use the integration guides for pre-built dashboards:

Validation checklist#

  • Prometheus resource status is online in Ametnes Platform.
  • Grafana’s Prometheus data source Save & test succeeds.
  • After configuring agents or collectors, queries return series in Grafana Explore or Metrics.