Auto-refresh is disabled by default (loads on entry only) to conserve Axiom's 10GB/month free query quota. Click ↻ Refresh anytime; temporary fast intervals (<5m) auto-revert to Off (Manual) after 10 minutes.
Authenticate for role-based dashboard access
Quick Login Presets (RBAC):
RBAC Frontend for Axiom Datasets (linux-linux-logs, metrics, traces)
Auto-refresh is disabled by default (loads on entry only) to conserve Axiom's 10GB/month free query quota. Click ↻ Refresh anytime; temporary fast intervals (<5m) auto-revert to Off (Manual) after 10 minutes.
Query OpenTelemetry metrics from MetricsDB, aggregate with MPL, and render real-time charts
where, group by, or bucket.
Inspect distinct log streams, filter across hosts/services, and visualize log volume spikes
Directly query Axiom datasets with pipeline filters, aggregations, and stats
Ship metrics and logs straight into Oracle MySQL HeatWave through our gateway. Collector secrets are never rendered on this page.
Timeseries points
Raw counters and gauges; rates are derived at query time
Structured log rows
Level, service, message and raw JSON per record
Host heartbeats
Last-seen map behind the fleet and alert views
| Method | Path | Body | Response |
|---|---|---|---|
| POST | /api/v1/write?dataset=<name> | snappy + protobuf (Prometheus remote write), or the same JSON rows | 204, empty body |
| POST | /v1/metrics/ingest | {"events": [{metric, host, ts, value, unit, tags}]} | 200, {"success": true, "inserted": N} |
| POST | /v1/logs/ingest | {"events": [{ts, host, service, level, message}]} | 200, {"success": true, "inserted": N} |
Auth on every route above: Authorization: Bearer <collector secret> or X-Gateway-Token. Only /health is unauthenticated, and it never echoes the token.
# 1) mint a 32-byte hex secret; it is printed once, nowhere else
openssl rand -hex 32
# 2) install it as the gateway token (file stays 0640 root:oci-gateway)
sudo sed -i 's|^OCI_GATEWAY_TOKEN=.*|OCI_GATEWAY_TOKEN=PASTE_THE_HEX_VALUE|' /etc/oci-db-gateway/gateway.env
sudo systemctl restart oci-db-gateway
# 3) prove it: 200 = accepted, 401 = mismatch, 000 = TLS or network
curl -sS -o /dev/null -w '%{http_code}\n' -H "Authorization: Bearer PASTE_THE_HEX_VALUE" https://oci-db.oldboy-loves-learning.win/v1/hosts
One token guards every ingest route, so rotating it re-keys the whole fleet at once: change it on the VM, restart the unit, then update each collector and the Worker secret (deploy.py --oci-gateway-token) in the same window. The value lives only in /etc/oci-db-gateway/gateway.env and the Worker secret store; this page never displays it.
remote_write:
- url: https://oci-db.oldboy-loves-learning.win/api/v1/write?dataset=prometheus
authorization:
type: Bearer
credentials_file: /etc/prometheus/oci-gateway.token
queue_config:
max_samples_per_send: 2000
max_shards: 4
Write the secret into /etc/prometheus/oci-gateway.token once (mode 0640, owned by the prometheus user). Point several remote_write entries at different ?dataset= values to keep series groups apart.
export OCI_GATEWAY_TOKEN=PASTE_THE_HEX_VALUE
# metric point
curl -sS -X POST "https://oci-db.oldboy-loves-learning.win/v1/metrics/ingest" \
-H "Authorization: Bearer $OCI_GATEWAY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"events":[{"dataset":"linux-linux-metrics","metric":"node_load1","host":"web-01","ts":"2026-11-28T12:00:00Z","value":0.42,"unit":"load"}]}'
# log line
curl -sS -X POST "https://oci-db.oldboy-loves-learning.win/v1/logs/ingest" \
-H "Authorization: Bearer $OCI_GATEWAY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"events":[{"dataset":"linux-linux-logs","host":"web-01","service":"api-gateway","level":"INFO","message":"heartbeat ok"}]}'
# metrics: native Prometheus remote write
[OUTPUT]
Name prometheus_remote_write
Match node_*
Host oci-db.oldboy-loves-learning.win
Port 443
Uri /api/v1/write?dataset=fluent-bit
http_user bearer
http_passwd PASTE_THE_HEX_VALUE
tls on
# logs: JSON array straight into /v1/logs/ingest
[OUTPUT]
Name http
Match *
Host oci-db.oldboy-loves-learning.win
Port 443
URI /v1/logs/ingest
Format json
json_date_key _time
Header Authorization Bearer PASTE_THE_HEX_VALUE
tls On
Both outputs take the collector secret from the config file itself, so keep fluent-bit.conf at mode 0640. Log rows without a dataset field land in linux-linux-logs.
Grant specific dashboards or dashboard groups directly to individual viewers, or assign them via Viewer Groups below.
| Username | Display Name | Role | Viewer Groups | Authorized Dashboards & Groups | Actions |
|---|
Group viewers together and grant dashboards or dashboard groups to the entire team.
Bundle related dashboards into a group for one-click assignment to viewers or viewer groups.