Observability & Telemetry (Grafana & Loki)
Okustera provides full-stack operational observability powered by Prometheus, Grafana Loki, Grafana, and Langfuse.
The platform automatically collects metrics, distributed traces, and structured container log streams across compute instances, Kubernetes workloads, serverless functions, managed databases, workflows, and AI endpoints—with no manual telemetry pipeline maintenance required.

Observability Architecture
Automated Service Dashboards
When you deploy workloads or managed services via the Cloud Console, CLI, or Terraform, Okustera automatically provisions dedicated, tenant-isolated Grafana dashboards scoped strictly to your project—and automatically removes dashboards for services you decommission so your workspace stays clean and current.
Supported Built-In Dashboards
| Service Type | Key Metrics Captured | Visualization Panels |
|---|---|---|
| Serverless Functions | Invocations/sec, HTTP status breakdown, execution duration percentiles (p50/p95/p99), active replica counts. | Rate charts, error indicators, latency histograms, scaling timelines. |
| Managed Databases | Active connection pool utilization, commit/rollback rate, query latency, replication lag, disk IOPS. | Pool saturation gauges, transaction throughput, storage capacity trends. |
| Compute & Virtual Machines | vCPU utilization, memory consumption, network RX/TX bandwidth, disk read/write throughput. | Core utilization gauges, RAM graphs, bandwidth meters. |
| Managed Workflows (Airflow) | DAG execution states, task success vs. failure rates, scheduler health, active task concurrency. | DAG run timelines, task duration trends, queue backlog trackers. |
For newly initialized projects with no active workloads yet, the telemetry console provides quick-start links to deploy your first compute instance, database, serverless function, or workflow.
Okustera Cloud Console Dashboard Launcher
From Observability → Grafana (/grafana) in the Okustera Cloud Console, you can launch any active workload dashboard directly in a full-screen Grafana browser tab with automatic single sign-on, giving you full access to Grafana's interactive zoom, drilldown, Explore, and alerting tools.
Centralized Logging with Grafana Loki
All container stdout and stderr logs from your workloads are automatically collected and indexed in Grafana Loki for real-time streaming and historical queries.
LogQL Query Patterns
Query logs directly from Observability → Logs (/observability) in the Cloud Console or Grafana Explore using LogQL:
# Filter error logs for a production microservice
{namespace="production", app="order-service"} |= "ERROR"
# Search for 5xx responses in JSON access logs
{namespace="production", app="checkout-api"} | json | status >= 500
# Filter exceptions in a document processing worker
{namespace="production", app="document-processor"} |~ "Exception|timeout"
Custom Metrics with Prometheus
Your Kubernetes workloads can expose custom Prometheus metrics by adding standard scrape annotations to Pod or Deployment manifests:
apiVersion: apps/v1
kind: Deployment
metadata:
name: billing-worker
namespace: production
spec:
template:
metadata:
annotations:
prometheus.io/scrape: "true"
prometheus.io/path: "/metrics"
prometheus.io/port: "8080"
spec:
containers:
- name: app
image: artifacts.okustera.com/my-project/billing-worker:v1.2.0
ports:
- containerPort: 8080
Marked endpoints are discovered and scraped automatically within 30 seconds of deployment.
Generative AI Observability & Tracing (Langfuse)
For generative AI applications and autonomous agents deployed on the Okustera AI Inference PaaS, the platform integrates European-hosted Langfuse:
- End-to-End Distributed Tracing: Capture prompts, reasoning chains, tool calls, vector retrievals, and streaming token spans via OpenTelemetry.
- Latency & Performance Profiling: Track Time-to-First-Token (TTFT), inter-token latency, and request queue wait times across deployments.
- Token Usage & Spend Correlation: Correlate prompt and completion token counts with project budgets and API keys.
- Prompt Versioning & Evaluation: Manage production prompt templates with A/B evaluation and instant rollback.
- 100% European Data Residency: All trace data and evaluations remain inside European sovereign infrastructure without third-party SaaS egress.
Langfuse Endpoints
| Target | URL | Protocol | Usage |
|---|---|---|---|
| Langfuse Console | https://langfuse.okustera.com | HTTPS | Interactive web UI, prompt registry, and trace inspector |
| OTLP Trace Ingestion | https://langfuse.okustera.com/api/public/otel | HTTPS / OTLP | OpenTelemetry trace export for applications and agents |
| Health API | https://langfuse.okustera.com/api/public/health | HTTPS | Automated uptime checks |
Langfuse complements Prometheus (metrics) and Grafana Loki (log streams), creating a unified three-pillar observability fabric across infrastructure, applications, and AI workloads.
Tenant Observability in the Cloud Portal
1. Tenant Grafana Workspace
- In the Cloud Portal, navigate to Observability → Grafana (
/grafana). - Select any active service card to open its pre-provisioned Grafana dashboard in a full-screen authenticated session.
2. Live Log Viewer & LogQL Search
Debug applications in real time without opening container shells:
- Navigate to Observability → Logs (
/observability). - Filter logs using LogQL expressions:
- By application:
{namespace="production", app="order-service"} - By severity:
{namespace="production"} |= "ERROR" - By regex:
{namespace="production", app="checkout-api"} |~ "timeout|exception"
- By application:
- Live logs stream directly in the browser with timestamps and severity badges.
3. Real-Time Resource Telemetry
Inspect live performance metrics across your project:
- Compute Utilization: Real-time vCPU and memory consumption gauges.
- Network Throughput: RX/TX bandwidth meters for private and public interfaces.
- Storage IOPS: Disk read/write rates and volume utilization.
- API Traffic: Ingress request volume, latency percentiles (p50/p95/p99), and HTTP status ratios (2xx/4xx/5xx).
REST API Reference
GET /api/v1/observability/logs— Query Grafana Loki log streams with LogQL expressions and time ranges.GET /api/v1/observability/timeseries/{metric_type}— Retrieve historical time-series data for CPU, RAM, Network, or Disk.GET /api/v1/observability/dashboard— Retrieve tenant-scoped telemetry summary.GET /api/v1/grafana/info— Retrieve tenant Grafana workspace URL and SSO endpoint.