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.
What to read next#
| 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#
- Sign in to the Ametnes Platform console.
- Click New Resource.
- Enter:
- Name: a unique name for your Prometheus service.
- Resource Kind:
prometheus. - Tier: choose a preset tier size that matches your expected ingestion and query load.
- Storage: choose capacity suited to your retention needs.
- Select your Data Service Location.
- Click Create.
- 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.
- Provision a Grafana data service and note its URL and credentials.
- Open Grafana and sign in.
- Go to Connections (or Configuration) → Data sources → Add data source.
- Choose Prometheus.
- 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). - Under Auth, enable Basic auth and enter the User and Password from your Prometheus resource.
- If your platform uses TLS (recommended), set TLS/SSL Mode as required and save.
- 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
onlinein Ametnes Platform. - Grafana’s Prometheus data source Save & test succeeds.
- After configuring agents or collectors, queries return series in Grafana Explore or Metrics.