Oracle Observability

Checking... VictoriaMetrics + VictoriaLogs (indiasvr)

RBAC Frontend for Axiom Datasets (linux-linux-logs, metrics, traces)

Window:
Auto:
Guest
Custom Ingest Gateway: oci-db.oldboy-loves-learning.win | Remote write: POST /api/v1/write | Store: MySQL HeatWave + JSON ADB
Dashboard:
Loading dashboard description... Auto-refresh: Off (Manual Default)
Manual Refresh Only (Eco)

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.

Axiom Metrics Explorer & Ad-Hoc MPL Grapher Loading metrics...

Query OpenTelemetry metrics from MetricsDB, aggregate with MPL, and render real-time charts

Ready (Edge Cache)
Filter Category:
Fleet Wide
Target Node: ALL Hosts (Fleet Wide)
Egress Public IP: Fleet Wide (Multi-IP)
Multi-Cloud
Dataset: linux-linux-metrics
Latest Metric Value
--
Select a metric
Time-Range Average
--
Arithmetic mean
Peak Value (Max)
--
Highest point in window
Minimum Value
--
Lowest point in window
Live Metric Graph 0 points Ready
Generated MPL (Metrics Processing Language) Expression POST /v1/query/_metrics
▼ Toggle Editor
Edit the MPL query directly to add custom operators like where, group by, or bucket.

Axiom Log Stream Explorer & Timeline Grapher Loading streams...

Inspect distinct log streams, filter across hosts/services, and visualize log volume spikes

Ready (Edge Cache)
Quick Presets:
Log Ingestion Timeline & Volume Frequency 0 events Ready
Volume histogram per time bucket
Matching Stream Records 0 records
Timestamp (_time) Level Service Host Message Body
Loading stream events...
Generated APL (Axiom Processing Language) Expression POST /v1/datasets/_apl
▼ Toggle Editor
Run arbitrary APL queries with complete dataset filtering and pipeline operators.

Axiom Processing Language (APL) Console

Directly query Axiom datasets with pipeline filters, aggregations, and stats

Sample Templates:
Query Endpoint: oci-db.oldboy-loves-learning.win/v1/sql

Custom Ingestion Endpoints & Collector Setup

Ship metrics and logs straight into Oracle MySQL HeatWave through our gateway. Collector secrets are never rendered on this page.

Gateway: oci-db.oldboy-loves-learning.win
Metrics oci_obs.metrics

Timeseries points

Raw counters and gauges; rates are derived at query time

Logs oci_obs.logs

Structured log rows

Level, service, message and raw JSON per record

Fleet oci_obs.host_heartbeats

Host heartbeats

Last-seen map behind the fleet and alert views

Custom ingestion endpoints Base URL: https://oci-db.oldboy-loves-learning.win
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.

Create a collector secret Run on the gateway host as root
# 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.

1. Prometheus remote write (prometheus.yml) Snappy + protobuf, 204 on success
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.

2. Direct JSON (cURL / Python / Bash) Same row shape the dashboard reads
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"}]}'
3. Fluent Bit (fluent-bit.conf) Metrics via remote write, logs via JSON POST
# 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.

Users & Direct Dashboard Permissions

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

Viewer Groups (用户组)

Group viewers together and grant dashboards or dashboard groups to the entire team.

Dashboard Groups (看板组)

Bundle related dashboards into a group for one-click assignment to viewers or viewer groups.