Skip to Content
Skitflow

Observability

Runtime logs, distributed traces and metrics for your apps, collected by telemetry agents and stored in ClickHouse.

Observability is in Beta. Logs, traces and route metrics are implemented and available in the dashboard, but setup behaviour varies by deployment shape. Some self-hosted installations may require manual agent configuration. Metrics are also available through Monitoring and Swarm Monitoring.

Observability brings the three telemetry signals - logs, traces and metrics - into one place so you can answer "what just happened?" without leaving Skitflow or shipping your data to a third party.

Skitflow Observability dashboard with ClickHouse status, retention, latency, error rate and throughput charts

The three signals

  • Runtime logs - structured logs streamed from containers as they happen, searchable and kept for as long as your retention allows. Exportable as CSV or JSON.
  • Distributed traces - a request followed across services, so you can see where time is spent and which hop failed.
  • Route metrics - latency percentiles, error rate, and throughput for application routes.

How it fits together

The pipeline has three stages:

  1. Telemetry agents run next to workloads and collect logs, traces, and metrics over OpenTelemetry.
  2. ClickHouse stores the signals in a columnar database built for high-volume observability data.
  3. Consumers read from that store: dashboards for humans and the AI Assistant, which can use observability context for diagnostics and proposal-based operations.

Enabling Observability

Open Observability in the dashboard. When entitlement and deployment shape allow it, Skitflow provisions ClickHouse and the telemetry pipeline.

Observability requires the Expert or Enterprise plan on Skitflow Cloud, or the observability license feature (or an active trial) on self-hosted.

On self-hosted, ClickHouse can be backed by local disk or by LINSTOR distributed storage (with a chosen replica count), and its container image can later be updated or the deployment removed from the same Observability settings.

Set retention in days (1-90, default 30). Longer retention gives more history, but it also consumes more ClickHouse storage.

In some self-hosted deployment shapes, ingest token wiring may require manual configuration. If logs or traces do not appear after enabling, check the agent connection and token in the observability settings.

Logs & Metrics Export (Vector)

Logs & Metrics Export ships container logs and host metrics from your servers to a destination you own: Grafana Loki, a Prometheus-compatible receiver, or Elasticsearch/OpenSearch. Skitflow runs a Vector agent on the server you choose, generates its configuration from your destinations, and keeps it up to date. The export runs independently of the ClickHouse store described above.

Find it on the Observability page, under the Storage & export tab, in the Logs & Metrics Export card.

Requirements and permissions

  • Plan or license - the same gate as Observability: the Expert or Enterprise plan on Skitflow Cloud, or an active license with the observability feature (or a trial) on self-hosted. Without it the card shows that export is available on the Expert and Enterprise plans, or that it needs an active license with the observability feature.
  • Permissions - the telemetry_export group, assignable through Custom Roles. Destination credentials are separate from rolling the agent out to hosts:
PermissionAllows
telemetry_export.readSee destinations, routing and agent status. No credentials are ever returned.
telemetry_export.manageAdd, edit, enable, disable and remove destinations; change routing; test a connection; preview the generated config.
telemetry_export.deployDeploy, redeploy and remove the Vector agent on a host.

Members who can view but not change the configuration see a read-only notice that names the permission they need.

Destination types

TypeReceivesTypical receivers
Prometheus remote writeHost metricsPrometheus, VictoriaMetrics, Grafana Mimir, Thanos, Grafana Cloud (remote-write endpoint)
Elasticsearch / OpenSearch / VictoriaLogsContainer logs and host metricsElasticsearch, OpenSearch (including provisioned Amazon OpenSearch Service), VictoriaLogs
Grafana LokiContainer logsGrafana Loki, Grafana Cloud Logs

A destination can only be routed the signals its type supports; saving an unsupported combination is rejected. Amazon OpenSearch Serverless is not supported.

Every destination has a Name, an Endpoint (an http:// or https:// URL), the signals it Sends, and an Enabled switch. The endpoint is stored encrypted because it often carries a credential of its own. The remaining fields depend on the type:

FieldPrometheus remote writeElasticsearch / OpenSearch / VictoriaLogsGrafana Loki
UsernameOptional. With it, the key is sent as the basic-auth password; without it, as a bearer token.Required if you set a key: this destination authenticates with basic auth.Optional. Same rule as Prometheus.
API key or passwordOptional. Stored encrypted, never returned.Optional. Stored encrypted, never returned.Optional. Stored encrypted, never returned.
Tenant IDOptional. Sent as X-Scope-OrgID - the tenant on your own cluster, not your Skitflow organization.-Optional. Same as Prometheus.
Index-Target index or data stream.-
API version-auto, v6, v7 or v8. Empty means v8, which Elasticsearch 7/8, OpenSearch 1/2 and VictoriaLogs all accept.-
Health checkTurn off for endpoints that answer a write with 204, such as Prometheus or VictoriaMetrics.Turn off when shipping to VictoriaLogs.-
Message field, Timestamp field, Stream fields-VictoriaLogs only: which field holds the message and the timestamp, and the comma-separated fields that identify a stream.-

For Loki you can enter either the base URL or the full push URL; Skitflow uses /loki/api/v1/push when the URL has no path. Credentials embedded in the URL are refused - use the username and key fields instead.

Set up an export

Add a destination

Click Add destination, pick the Destination type (the form lists that type's fields and links to the Vector sink documentation), fill in the endpoint and credentials, choose which signals it Sends (Container logs, Host metrics) and save. A destination must receive at least one signal; to stop sending, turn the destination off instead.

Changing the type of an existing destination clears its stored credentials, so you enter a new endpoint and credentials.

Test the connection

Testing sends one harmless, empty request to the endpoint with the destination's credentials, built by the same code that generates the agent's configuration, so it targets the URL and authentication the agent will use. It needs the telemetry_export.manage permission. The dashboard form does not have a test button yet; call the API on the saved destination:

curl -X POST 'https://your-skitflow-host/api/telemetryExport.testConnectionById' \
  -H 'accept: application/json' \
  -H 'content-type: application/json' \
  -H 'x-api-key: YOUR-GENERATED-API-KEY' \
  -d '{"telemetryProviderId": "YOUR-DESTINATION-ID"}'

See Skitflow API for how to generate an API key. The result is {"ok": true, "status": 204} or {"ok": false, "reason": "..."}, where reason is one of:

ReasonMeaning
invalid_configThe saved settings cannot produce a request (for example a password with no username, or credentials in the URL).
blocked_targetThe endpoint resolves to an address Skitflow refuses to reach.
blocked_redirectThe receiver answered with a redirect, which is not followed.
unauthorizedThe receiver answered 401, 403 or 407.
not_foundThe receiver answered 404: nothing serves this path.
rejectedAny other 4xx.
receiver_errorThe receiver answered 5xx.
timeoutNo answer within 10 seconds.
unreachableDNS, TLS or connection failure.

Skitflow never returns anything the receiver said, only the status and the reason. The test runs from the Skitflow server, not from your host: loopback, link-local, cloud-metadata, multicast and reserved addresses are always blocked, and on Skitflow Cloud private network ranges are blocked as well. The agent connects from your own host, so a destination that is only reachable from inside your network can still work for the export even if the test reports it as blocked or unreachable.

Route signals to a target

In Routing, the matrix shows each destination against Container logs and Host metrics. A dash means the destination cannot receive that signal at all. A disabled destination keeps its settings and receives nothing.

In Deployment target, list your servers and tick the destinations each one ships to. Destinations that are saved but ticked on no server are listed under Saved but not deployed, with a reminder to assign them to a target.

The exporter runs on a standalone host or on a Swarm manager. Skitflow detects which from docker info: Detected: Standalone, Detected: Swarm manager. On Swarm the agent is a global service with one task on every node, so workers are covered too; a worker's panel shows Covered by the owning target. See Vector Telemetry Export for all sources and modes.

Deploy the agent

On the target, the Vector agent panel shows its state (Not deployed, Running, Stopped, Applying…), the image, how many tasks are running, and whether the configuration is applied. Click Deploy (it becomes Redeploy once the agent exists). This requires telemetry_export.deploy.

Deploying:

  1. generates vector.yaml for that target from its enabled destinations;
  2. validates it with Vector on the host, and only then installs it atomically - an invalid configuration never replaces a working one;
  3. starts the agent: a skitflow-vector container on a standalone host, or a global skitflow-vector service on Swarm (one task per node).

The agent reads the Docker socket and the host's file systems read-only, and keeps its configuration under /etc/skitflow/vector on the host.

Use Preview config before deploying to see the generated vector.yaml with every credential replaced by [redacted] (needs telemetry_export.manage).

Update the configuration

Edits do not need a restart:

  • Editing, enabling, disabling or removing a destination automatically re-applies the configuration to every target that already runs an agent for it. Vector reloads with SIGHUP, so the agent keeps running. A disabled or removed destination stops receiving data. If a host cannot be reached, the change is still saved and you see a warning that those targets still run the previous configuration - Redeploy them once they are reachable.
  • Changing which destinations a target uses is saved but not applied until you click Redeploy. Until then the panel warns that the host is running an older configuration.
  • If the agent's image or runtime settings changed in a Skitflow update, Redeploy replaces the container instead of reloading it.
  • If nothing is routed to a target any more, Redeploy removes the agent. You can also click Remove agent at any time; the container and its configuration directory are deleted and nothing is exported from that host until you deploy again.

Removing a server or deleting the organization also removes its agent.

What is exported

  • Container logs come from containers that carry your Skitflow organization label. Other containers on the host are never read. Containers created before the label existed get it on their next deploy, and the panel lists running containers that are skipped because they have no label. Each line carries the organization, project, environment, application and service fields, plus the server name.
  • Host metrics (CPU, memory, disk, file system, network, load and host) are collected every 30 seconds, tagged with your organization and the server name.

Each sink (one per destination and signal) has a 256 MiB disk buffer on the host. If a receiver is down, the agent applies back-pressure instead of dropping events, and delivery resumes when it recovers. A receiver that stays down long enough to fill its buffer slows delivery to the other destinations on the same host too.

Plan changes and license expiry

Logs & Metrics Export follows the Observability entitlement on every request, reads and writes alike. After a downgrade or when a self-hosted license or trial lapses, the card shows the locked notice, and all export operations - including viewing destinations, redeploying and removing the agent - are refused until the entitlement returns. Your saved destinations are kept. Skitflow does not stop or remove an agent that is already running on a host when the entitlement ends, and it also cannot update it until access is restored; remove the agent before the downgrade if you want exports to stop.

Relationship to Monitoring

Observability builds on the monitoring stack rather than replacing it:

  • Monitoring tracks server and container resource usage and alert thresholds.
  • Swarm Monitoring shows cluster topology, node health, and service placement.
  • Observability adds route metrics, logs, traces, retention, and ClickHouse-backed querying.

Privacy

Agents run beside your workloads and write into ClickHouse. In self-hosted deployments, telemetry stays on infrastructure you own. In cloud deployments, telemetry is sent to the Skitflow cloud control plane.

Logs & Metrics Export is the exception by design: it sends logs and metrics from your servers straight to the destinations you configure, and only to those.

On this page