Skip to content

Changelog

Notable changes in the current release. History begins at the first public release below.

This project uses calendar versioning (vYY.MM.idx) stamped at release: the month is when a version actually shipped, so the number is not known until it ships. Work in progress lives under Unreleased, and that heading is renamed to the version as part of cutting the release. Beta builds publish from Unreleased — they are dated test builds and do not name a future release.

[v26.10.1] — 2026-10-26

Changed

  • OTLP export uses TLS unless the collector is on this host. exporters.otel[].secure and metrics.otlp.secure used to default to false, so a config that named a remote collector and no secure sent spans and raw SQL across the network unencrypted. Both are now optional: omitted, plaintext is used only for a loopback collector (localhost, 127.0.0.0/8, ::1, an empty host such as :4317, or a unix: socket), whatever the port, and TLS for every other collector; names are never resolved to decide. ca_cert, client_cert, client_key, or insecure_skip_verify with secure omitted selects TLS, and any of them with secure: false is now a validation error rather than an ignored setting. A collector_address of 0.0.0.0 or ::, or one whose host environment expansion left empty, fails validation. Automatic plaintext ignores proxy environment variables and refuses to dial a name that resolves off the host. click-dog validate and the startup log show each connection's transport and whether it was chosen automatically (OTLP transport). Action: a remote OpenTelemetry Collector or Datadog Agent that serves plaintext on 4317, including one reached through ${DD_AGENT_HOST}, now needs secure: false in its exporter entry, or TLS enabled on its receiver.
  • Every config renderer writes the OTLP transport for a remote collector. click-dog init, init --wizard, install.sh, click-dog deploy, and the Ansible playbook write secure: true or secure: false whenever the collector is not loopback or a value was chosen, and a comment stating the rule for a loopback collector left automatic, so editing the address later does not keep a plaintext value written for localhost. The flag is --otel-secure[=true|false] everywhere, unset meaning automatic; init, deploy, and install.sh refuse a space-separated value (--otel-secure false) and point to --otel-secure=false. click-dog init --print-otel-secure prints the transport for an address without writing anything. click-dog deploy kubernetes and deploy docker now refuse a collector that is not loopback without --otel-secure=true or --otel-secure=false, because they cannot see its network. install.sh install, install.sh docker, and the playbook (otel_secure is now optional) decide with the click-dog they install and check a TLS choice with click-dog test tls, stopping on a plaintext receiver with --otel-secure=false (or otel_secure=false) named as the fix. The shipped deploy/kubernetes/configmap.yaml sets secure: true for its placeholder collector; set secure: false there for an in-cluster collector that serves plaintext (Kubernetes, Ansible).
  • The Kubernetes OTLP TLS example issues Click-Dog a client certificate from a private CA. deploy/kubernetes/certificate.yaml requested a Let's Encrypt certificate for the collector's name, and the Deployment mounted it as Click-Dog's mTLS client certificate with ca_cert pointing at the Secret's ca.crt. As shipped it could not work: ACME issuers do not write ca.crt, so Click-Dog would not start; Let's Encrypt no longer issues certificates usable for client authentication; and the collector's own certificate is not Click-Dog's identity. The file now has cert-manager run a private CA and issue a client certificate with client auth usage. The Deployment mounts it, and an optional click-dog-otel-ca ConfigMap for a collector on a private CA, as /etc/click-dog/tls/client.crt, client.key (mode 0440, readable through the new fsGroup: 65532), and ca.pem (OTLP TLS), and no longer mounts click-dog-otel-tls. If a working setup still reads click-dog-otel-tls, for example after you swapped in a CA issuer, move it to the new Secret and paths before applying the new deployment.yaml, or Click-Dog stops on the missing files (Migrate from click-dog-otel-tls). Then delete the old Secret and Certificate, and the letsencrypt-staging and letsencrypt-prod ClusterIssuers if nothing else uses them.
  • The Ansible playbook leaves Keeper off by default. It used to default keeper_hosts to localhost:9181, so every sidecar tried to join a leader election. Per-node sidecars need no Keeper for coverage; set keeper_hosts only for cluster-wide click-dog flush and /clusterz.
  • Ansible fleets now get the production profile's settings. The playbook template had drifted: its blacklist_queries (^SELECT \* FROM system\., SHOW TABLES, (?i)healthcheck) are replaced by the profile's ^SYSTEM and ^INSERT INTO.*\.inner\., and OTLP self-metrics (metrics.otlp.enabled) are now on, which feeds the Datadog Health dashboard and adds a self-metrics stream to your backend. Re-add any filters you relied on in your copy of the template before re-running the playbook.
  • Kubernetes pods run in group 65532 instead of root's group. The shipped Deployment and click-dog deploy kubernetes set runAsUser: 65532 without runAsGroup, and the image had no account for that user, so the container started with primary group 0 (root). Both now set runAsGroup: 65532, and the sidecar example sets user and group 65532 on its container. click-dog deploy kubernetes --update and install.sh kubernetes update change only the image tag. The image now runs as 65532:65532 (see that entry), which already gives such a deployment.yaml group 65532, but add runAsGroup: 65532 beside runAsUser too, or regenerate, so the group does not depend on the image. A file you mount that only root's group can read is no longer readable. For a Secret, ConfigMap, or projected volume, set the pod's fsGroup: 65532, as both Deployments now do; for a hostPath or NFS file, which the kubelet does not re-own, make it readable by group 65532.
  • The container image runs as user and group 65532 instead of 100:101. The image's clickdog account now has uid and gid 65532, the identity the Kubernetes manifests set, and its USER is numeric. A pod that sets only runAsUser: 65532, such as a deployment.yaml generated before runAsGroup was added and then updated to this image, now runs in group 65532 instead of group 0. A pod that sets runAsNonRoot: true without runAsUser now starts: the kubelet refused the old named USER clickdog because it could not verify it was non-root. uid 100 no longer has an account, so a pod or service that set runAsUser: 100 or --user 100 to match the old image now runs in group 0: switch it to 65532, or set the group too. Docker Compose deployments change user: re-own any file or directory you gave the old account, such as a collector CA readable only by it or a log_file directory, with chown 65532:65532 (Install with Docker).
  • click-dog init defaults the production and paranoid profiles to the click_dog_monitor user that every installer provisions, instead of default. minimal still uses the driver's default user. Pass --ch-user default to keep the old behavior.
  • The guided installer asks whether to export over TLS. It used to render plaintext OTLP export for every receiver. The OTLP receiver step now defaults to TLS unless the receiver is on loopback on a port other than 443, and proves a TLS answer with one handshake made by the release being installed, with click-dog's own exporter TLS code (click-dog test tls), so the installer and the service cannot disagree about a certificate. The guided install therefore downloads the release before the OTLP receiver step. A receiver that does not speak TLS, an untrusted certificate, one without a subjectAltName for its address, one that requires a client certificate, or one that does not select HTTP/2 (ALPN h2) is reported before anything is installed. For a self-signed or private-CA collector it shows the certificate and its SHA-256 fingerprint and offers to trust it (default no), pinning it as ca_cert without a hand edit. See Install.
  • The Ansible playbook's OTLP TLS uses your CA and client certificate. tls_enabled requested a Let's Encrypt certificate on each host and used it as both the mTLS client certificate and the CA for verifying the collector. It could not work: certbot never wrote the files the configuration named, so a fresh run failed before starting Click-Dog; Let's Encrypt no longer issues certificates usable for client authentication; and a host's own chain does not verify a collector. Set otel_secure=true, with otel_ca_cert for a collector on a private CA and otel_client_cert/otel_client_key for mTLS (OTLP TLS). The playbook now stops on tls_enabled=true, removes the old certbot renewal hook and its tls.crt/tls.key/fullchain.pem copies, and stops rather than drop a ca.pem or client pair already on a host that the inventory does not supply. Run certbot delete --cert-name <tls_domain> on each host if nothing else uses that certificate.
  • The installer checks a collector address without a port on 443, the port export dials, instead of 4317. Write the port to use another one.
  • The Datadog dashboards are easier to read and lead into traces. Section explanations sit in collapsible reference groups instead of behind More, and SQL previews, query hashes, and values are separate searchable tables whose hash links open the matching traces with the dashboard's filters and time range. Query and activity widgets follow the selected dashboard window instead of mixing in one-hour counts, and exact-family p95 detail moves below application attribution. Metric queries are unchanged, and an existing dashboard changes only when you provision or import the updated template again (Datadog dashboards).

Added

  • click-dog test tls --collector HOST:PORT checks an OTLP receiver's TLS with the exporter's own code, against the system trust store or --ca-cert FILE alone: the certificate chain and dates, a subjectAltName for the address (never the Common Name), the client certificate given with --client-cert and --client-key, and ALPN h2. --config FILE [--exporter N] checks a configured exporter with all its TLS settings and says plainly when insecure_skip_verify means nothing was verified. It prints a verdict, the certificates the receiver sent with their SHA-256 fingerprints, and the setting that fixes a failure; --json is a stable object and --chain-out FILE writes the chain as PEM (Check OTLP receiver TLS). The installer's TLS checks run it, so they need no openssl.
  • install.sh --otel-secure renders secure: true for the OTLP receiver from install, docker, kubernetes, and the guided path. On install it checks the TLS handshake with the downloaded release and exits before writing anything on a mismatch (Unattended install).
  • click-dog deploy kubernetes --otel-secure and click-dog deploy docker --otel-secure render secure: true under exporters.otel in the generated configmap.yaml or click-dog.yaml. Neither checks the handshake: the receiver address resolves inside the cluster or container (Kubernetes).
  • Generated Kubernetes Deployments mount the optional click-dog-otel-ca ConfigMap and click-dog-otel-client Secret read-only at /etc/click-dog/tls/, for a private-CA collector or mTLS, and set fsGroup: 65532 so the 0440 client key is readable by click-dog only.
  • install.sh --otel-ca-cert FILE verifies a self-signed or private-CA collector against that PEM file, installed as /etc/click-dog/tls/ca.pem. Unattended installs never trust a certificate on first use; this flag is their route. click-dog init --otel-ca-cert PATH renders the same ca_cert, made absolute so the service finds it whatever its working directory, and init --wizard asks for an optional CA after the TLS question. Self-signed collector shows how to issue a certificate click-dog accepts.
  • Scale out from one host: take over a guided install with the Ansible playbook and add the remaining nodes.
  • A renewed OTLP mTLS client certificate takes effect without a restart. Click-Dog used to read exporters.otel[].client_cert and client_key only at startup, so after cert-manager or the Ansible playbook replaced them it kept presenting the old certificate until restarted. It now re-reads the pair each time it connects to the collector, logs the new certificate's subject and expiry, and keeps the previous pair, with a warning, while the files on disk do not match or the new certificate is not yet valid or has expired and the current one is still valid. ca_cert is still read once at startup (Client certificate renewal).
  • Exported telemetry names the ClickHouse server version. Scheduled and backfill exports set the clickhouse.version Resource attribute to the version() of the ClickHouse server Click-Dog reads from. Scheduled mode re-reads it every 5 minutes, logs a change, drops it after a failed lookup or a degraded cycle, and re-reads on the first healthy cycle after; backfill resolves it once per run. It names the server Click-Dog is connected to, not the node that ran a given query, which can differ under use_cluster_queries during a rolling upgrade (Span attributes).

Fixed

  • install.sh kubernetes update and install.sh docker update refused a config that names TLS files. The update checks the config against the new image in a container that mounts only the config, so a ca_cert, client_cert, or client_key set as the Kubernetes and Docker pages describe could never be read there, and the update stopped before changing anything. Each absolute TLS path the config names now gets an empty read-only stand-in for that check. The files themselves remain the deployment's job: Click-Dog still refuses to start without them.
  • The installer installed with a collector CA file Click-Dog cannot use. When --otel-ca-cert named a file with a certificate header but an unparseable body, and openssl was not on the host to catch it first, the TLS check reported "not verified" and the install went ahead with a config the service could not start with. That result is now a failure that names the file and the cause: install stops before writing anything, and the guided install stops instead of offering to continue.
  • install.sh docker and install.sh kubernetes failed on a Linux Docker host. The installer runs the generator image with the output directory bind-mounted, and the image's own user could not write a directory owned by you, so both stopped with permission denied. install.sh kubernetes update failed its config check the same way, before changing anything. Docker Desktop hid the problem by mapping file ownership. The installer now runs the generator as your user and your groups, as root in the container under rootless Docker, and outside the user namespace under userns-remap, and on an SELinux daemon it lifts the container's label instead of relabeling your directory. The generated files belong to you. The update config check still runs as the image's own user, mounting the file where Compose does, so it fails for a config the service could not read. click-dog.yaml in the Docker directory is now always 0644, from either generator and under any umask, because the Compose service reads it as the image's own user. The file holds no password; that stays in .env, which is now made 0600 before the password is written to it.
  • install.sh --prerelease stopped without a word. The installer stopped reading GitHub's release list at the newest prerelease, and once the list grew past 64 KiB the unread rest could not be written: the install ended with status 141 and no message, right after resolving the version. The installer in v26.09.1 does the same. It now reads the whole list, so the guided install, install, update, docker, and kubernetes with --prerelease reach the newest beta again.
  • Query-log enrichment reported the lifecycle event as the statement type. ClickHouse applies a SQL alias everywhere in a query, so aliasing the lifecycle column type as query_kind in both query-log readers replaced the statement column of the same name: a completed SELECT or INSERT exported query_log.operation as queryfinish and query_log.access_type as other instead of read or write. Both readers now leave type unaliased.
  • click-dog test tracing failed on a node whose span log did not exist yet. ClickHouse creates its span-log table on the first flush, so the first run on a fresh node stopped at UNKNOWN_TABLE although the flush was due within the timeout. It now keeps polling for the table within --timeout, saying once that it is waiting; permission, schema, and connection errors still fail immediately (Test native tracing).
  • Leader election raced inside the ZooKeeper client on a Keeper reconnect. go-zookeeper/zk v1.0.4 updates its last-seen transaction ID without synchronization, and a reconnect read it while responses were still arriving, which is the normal state of an election watching a znode when Keeper drops. Click-Dog now builds a copy with those accesses made atomic, the change in upstream pull request go-zookeeper/zk#35, which remains unmerged.

Security

  • Built with Go 1.26.10 and golang.org/x/net v0.60.0, which the release gate enforces with govulncheck. Together they clear GO-2026-6617, GO-2026-6613, GO-2026-6612, GO-2026-6611, GO-2026-6610, GO-2026-6605, and GO-2026-6603 (net/http, HTTP/1 and HTTP/2), GO-2026-6608 (net/textproto, mime/multipart), GO-2026-6607 (crypto/tls), GO-2026-6600 and GO-2026-6599 (html/template), and GO-2026-6809 (crypto/x509, which now distrusts compromised intermediate certificates) — advisories reachable through the health server, the Splunk HEC exporter, the self-updater's download, the TLS dialers, and the OTLP TLS probe. Building from source now needs Go 1.26 or newer, because golang.org/x/net v0.60.0 dropped Go 1.25.
  • gRPC v1.83.2 on the OTLP export transport, clearing GO-2026-6348 (memory exhaustion through fragmented HTTP/2 DATA frames) and the server-side GO-2026-6443.
  • OpenTelemetry Go v1.45.0 for OTLP self-metrics, clearing GO-2026-6505 (exporter endpoint URLs written to info logs).
  • klauspost/compress v1.18.7 under the ClickHouse driver, clearing GO-2026-5841 (out-of-bounds read in s2, a package Click-Dog does not load).

[v26.09.1] — 2026-09-14

The first public release, and a public beta: pre-1.0, Apache 2.0. What it guarantees and what it deliberately does not are set out in the operating contract.

ClickHouse generates OpenTelemetry spans into system.opentelemetry_span_log and gives you no way to ship them anywhere. Click-Dog is a single static binary that reads those spans and exports them over OTLP gRPC to any OTEL-compatible backend — Datadog, Honeycomb, Grafana, a collector of your own.

Added

Export

  • Scheduled mode. A continuous polling loop over system.opentelemetry_span_log on a configurable interval, with batching, chunking, and a per-cycle span cap (monitor.max_spans_per_cycle, default 1000, ceiling 100000).
  • Backfill mode. A one-time historical export of system.query_log between two timestamps, emitting synthetic spans for queries that qualify, then exit. Backfill covers the query log only; it does not replay system.opentelemetry_span_log.
  • Live span selection. Duration filters run in ClickHouse to find qualifying trace_ids, and spans for those traces are then fetched — so selection is driven by whole traces rather than by individual slow spans. monitor.max_spans_per_cycle bounds each cycle rather than discarding the remainder: a large trace continues across cycles, and spans the walk falls more than three lookback windows behind are dropped.
  • OTLP gRPC and Splunk HEC exporters, configurable independently, with TLS and mutual TLS on the OTLP path.
  • Fan-out to multiple sinks. Backends start concurrently and each receives the full configured monitor.export_timeout_s, so a slow sink cannot consume the deadline belonging to a healthy one. This build delivers under all-required semantics; any-success exists in the code but is not operator-selectable, so do not design around it during the beta.
  • Forward-progress guarantees. Each cycle continues through the lookback window oldest first from where the last successfully exported cycle stopped, so already-exported rows cannot repeatedly consume the cycle budget, and every span is read while inflow stays below max_spans_per_cycle / check_interval_s. A cycle whose export fails does not advance, and the next successful cycle resumes from the last exported position up to three lookback windows back.
  • In-memory deduplication. An LRU cache (default 10,000 entries) suppresses repeats within a run. It is not persisted: restarts, retries, and leader-partition windows can resend spans carrying stable (trace_id, span_id) identities, and how a backend treats those repeats is backend-specific.

Filtering and query-text privacy

  • Two-tier duration filtering, at trace level and span level, applied in the ClickHouse query rather than in Go, to minimize data transfer.
  • Operation whitelists with wildcards, IP whitelists, and regex query blacklists, plus query-length limits applied at fetch time and at export time.
  • Four query-text modes. filters.query_text_mode accepts raw (the compatibility default), redacted, normalized_only, and none, applied to scheduled native spans and query-log backfill alike. Privacy-restricting modes never fall back to raw text, including URL-encoded HTTP query parameters. A configuration carrying the older filters.redact_queries with no mode set migrates to fail-closed redacted and warns at startup: unlike legacy redaction, a statement matching no rule is now omitted rather than exported.
  • Per-exporter max_query_length, applied to live db.statement values and backfill output alike.

Resilience and high availability

  • Circuit breaker and adaptive backoff, layered: the breaker blocks cycles outright while backoff widens the interval.
  • Leader election via ClickHouse Keeper, so a cluster-mode deployment (use_cluster_queries: true) exports its whole-cluster read once rather than once per instance. Sidecars keep exporting their own node's spans and use leadership only for coordination. Instances create ephemeral znodes in Keeper to claim and hold leadership.
  • Topology self-audit. Detects the sidecar-plus-cluster anti-pattern that produces duplicate whole-cluster readers, and warns without ever gating readiness.
  • Connection pooling, query timeouts, and startup health checks against every configured node.

Query analysis

  • click-dog analyze queries produces a deterministic analysis.report.v1 JSON contract over system.query_log — four analyzers, stable condition identities, no LLM and no query rewriting.
  • Baselines and regression detection. -save-baseline captures an exact-hash known-good artifact; -baseline compares against it non-mutatingly and emits analysis.report.v2. Conservative latency_regression and failure_spike analyzers suppress low-volume, partially matched, stale, and incompatible comparisons.
  • Policy gates and notifications. -fail-on critical or -fail-on warning makes the report return exit 3 at that threshold for CI use, and -notify sends a bounded analysis.notification.v1 summary to a Slack-compatible webhook and/or the Datadog Events API.
  • click-dog analyze trace drills from a query family into its traces, with a guided -wizard flow.

Operating

  • Health probes — /healthz, /readyz, /status, and leader-served /clusterz on a listener separate from metrics, so a scrape failure cannot look like a liveness failure. The listener is opt-in: set health.enabled (the production starter profile does) and it defaults to :8686. A separate admin listener carries POST /flush, kept off the scrape endpoint so /metrics can be bound publicly without exposing it.
  • Self-metrics — a Prometheus scrape endpoint (also serving a legacy /health) plus optional OTLP push, with per-sink export counters. Their state is reported at startup and by click-dog validate, including an explicit disabled message, so a blank dashboard is diagnosable.
  • Three Datadog dashboards — click-dog create-dashboards provisions application query analysis, exported user activity, and Click-Dog's own health. Activity counts are labeled as covering the qualified and exported stream, not as an audit record.
  • Outbound webhooks for lifecycle events, including a bounded synchronous delivery attempt on shutdown so process exit cannot race the final event.

Commands

  • click-dog init and init --wizard generate a starter configuration; check validates configuration and connectivity; validate validates configuration offline without connecting to anything; backfill --start/--end exports a historical time range one-shot; test export and test tracing smoke-test an exporter and native trace propagation; analyze queries and analyze trace run query analysis; deploy kubernetes and deploy docker render manifests, deploy status inspects a local installation, and deploy uninstall removes a standard systemd installation after confirmation; create-dashboards provisions Datadog; self-update replaces the binary in place after verifying the release signature chain described under Security. test-span remains as a deprecated alias for test export, and --dry-run reads real data, discards the exports, and reports what would have shipped.
  • click-dog flush asks a running service to export now, and exports nothing itself. Without Keeper configured it signals a systemd-managed unit, so a click-dog running in Docker, Kubernetes, or the foreground is not reachable this way and the command reports that and exits non-zero. With Keeper configured it writes a request for the elected leader and returns success once the request is recorded, whether or not a leader picks it up.
  • Configuration is YAML with ${VAR} and $VAR expansion, validated by click-dog validate, with logging at debug/info/warn/error to stderr or a rotating file.

Installation

  • install.sh downloads the release archive, verifies it against the signature chain described under Security before executing anything, and installs a systemd unit when asked (--systemd; the quickstart path always does). Plain install.sh resolves the latest GA, so reaching a -beta.N build needs --prerelease. Kubernetes manifests, Docker deployment, and an Ansible playbook for multi-node rollouts ship alongside.

Fixed

  • A capped cycle skipped the newest traces. When a cycle continued a page the previous cycle had capped, it returned the older remainder without reading anything newer, so traces that finished between the two reads were never selected. At inflow the docs call sustainable (26–32 spans/s at the defaults) roughly a third of traces were lost. The reader now walks the window oldest first from a committed position and fills the rest of the cap with newer traces in the same cycle.
  • A failed export was skipped instead of retried. The reader moved its position when it fetched a page, before the page was exported, so a collector error or export timeout on a capped page sent the next cycle past it. The position now moves only after every export in the cycle succeeds, and the next cycle resumes from it even when it has fallen behind the lookback window, up to three windows back, so one failed export followed by a backoff step loses nothing at the defaults. A strict IP or user whitelist that dropped spans because a lookup failed also leaves the page to be read again.
  • Every other scheduled cycle was blind. The live span reader's keyset walk deferred its wrap to the next cycle and returned an empty page in between, so traces that arrived after a walk began were only read every second cycle. With the lookback sized as check_interval_s + lookback_buffer_s, that was a rolling gap at the defaults; a ground-truth join against a 3-node cluster's span log measured roughly a fifth to a third of qualifying traces never exported. The walk now wraps within the same cycle, and a trace page shorter than the cap ends the walk outright.
  • A standby's startup cycle exported the leader's window. In cluster mode the election joined in the background while the startup cycle ran immediately, so the gate failed open and every standby start delivered one full lookback window of duplicates. A cluster reader now waits up to the Keeper session timeout for its election to join before its startup cycle; an unreachable Keeper still fails open after the wait.
  • Promotion waited for the next tick. A promoted cluster reader now runs a cycle immediately, so the now - lookback re-read lands within the session timeout instead of up to one check interval later.
  • click-dog check named the wrong grant in cluster mode. A monitoring user holding exactly the two documented per-table grants was told to grant them again; the remedy now names GRANT REMOTE ON *.*, which cluster() requires.
  • Canary queries against ClickHouse. Scan the native unsigned result of count() before converting it to the signed public result type, preventing canary checks from failing on clickhouse-go's strict integer decoding.
  • Query text leaked through exception messages. ClickHouse quotes a failing statement, literals included, in the clickhouse.exception attribute it records on the query span, and redacted, normalized_only, and none exported it unchanged. Every privacy-restricting mode now drops exception messages and keeps exception codes.
  • Exact IPv4 entries in whitelist_ips never matched. ClickHouse reports an IPv4 client as ::ffff:a.b.c.d, and exact entries such as 10.0.1.50 were compared as strings, so every span from that client was dropped. Entries now compare as addresses; CIDR entries were unaffected.
  • click-dog --config x validate started the daemon. Flag parsing stopped at the verb and nothing checked what was left. Arguments after the top-level flags now exit 2 and say the command goes first.
  • The Ansible playbook failed as documented. Self-referencing defaults aborted the run with a recursive template error and overrode inventory settings, untagged updates ran the rollback tasks and restored the previous binary, and the unit required the TLS directory to exist. Defaults now yield to inventory and extra vars, rollback runs only with --tags rollback, and the TLS path is optional.

Security

  • Read-only against ClickHouse. Every ClickHouse SQL connection sets readonly=2, so Click-Dog cannot write to the database it observes. The only writes to the observed data plane go to ClickHouse Keeper — not ClickHouse itself — for HA leader-election znodes and flush requests. The binary does write elsewhere: analyze queries --save-baseline stores a baseline file, create-dashboards calls the Datadog API, self-update replaces the binary on disk, and the webhook notifier makes outbound POSTs.
  • Signed artifacts. Container images are cosign-signed directly. For archives, cosign signs checksums.txt and each archive is bound to it by SHA-256 — that is the chain install.sh and self-update verify: cosign-verify the checksum list against the public release workflow identity, then match the downloaded archive's digest against it. Verifying an archive's signature directly will fail, because there isn't one. The documented exception is a binary you supply yourself: install.sh -b and the Ansible click_dog_local_binary variable install a pre-verified binary and skip the download and cosign steps, so that path is yours to audit.
  • TLS throughout. Available for ClickHouse and OTLP connections, with mutual TLS for OTLP. Incomplete mTLS pairs and unreadable certificate files are rejected at configuration load rather than at first connection — a config setting only one of client_cert/client_key will not start — and a plaintext OTLP exporter warns at startup about SQL-literal exposure.
  • Built with Go 1.26.6, which the release gate enforces with govulncheck. That toolchain clears GO-2026-6218 (net/url), GO-2026-6091 (html/template), GO-2026-6090 (crypto/tls), GO-2026-6089 and GO-2026-5026 (net/http), and GO-2026-5972 (encoding/asn1) — advisories reachable through the health server, the Keeper TLS dialer, the self-updater's download and checksum verification, and the ClickHouse reader's certificate pool.
  • gRPC v1.82.1 on the OTLP export transport, clearing GO-2026-6061, a reachable authorization/HTTP-2 advisory reported by the same govulncheck gate.
  • Log files are created 0640. A log-shipping agent running under its own UID must share the click-dog service user's group.
  • Apache 2.0, with a DCO Signed-off-by trailer required on every contribution.

Deprecated

  • click-dog test-span is a compatibility alias for click-dog test export. Existing flags, stdout behavior, and exit status remain available; stderr names the replacement. No removal release is assigned.
  • The -validate and -backfill-start/-backfill-end mode flags are compatibility aliases for the validate and backfill --start/--end subcommands. The flags keep working and now warn on stderr; the subcommands are the documented surface. No removal release is assigned.