On this page

Show all

Overview

Updated on 2025-01-08 GMT+08:00

Access Management allows you to quickly connect monitoring data to AOM. This function determines whether to establish or delete network channels, and generate or revoke authentication credentials for reporting monitoring data.

By using the generated access code as an authentication credential, you can remotely report native Prometheus metrics to AOM according to Reporting Prometheus Data to AOM and store time series data for a long time. You can also use the access code to query data in AOM according to Viewing Metric Data in AOM Using Grafana. AOM supports the following native Prometheus APIs:

APIs for querying Prometheus data:
  • GET /v1/:project_id/api/v1/query
  • GET /v1/:project_id/api/v1/query_range
  • GET /v1/:project_id/api/v1/labels
  • GET /v1/:project_id/api/v1/label/:label_name/values
  • POST /v1/:project_id/api/v1/query
  • POST /v1/:project_id/api/v1/query_range
  • POST /v1/:project_id/api/v1/labels

When calling the preceding APIs, add access_code to the Authorization field in the request header.

Example: "Authorization: Bearer {access_code}" or "Authorization: Basic base64Encode("aom_access_code:{access_code}")"

API for reporting time series data: POST /v1/:project_id/push

NOTE:

base64Encode means that parameters are encoded using Base64.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback