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[].secureandmetrics.otlp.secureused to default tofalse, so a config that named a remote collector and nosecuresent 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 aunix:socket), whatever the port, and TLS for every other collector; names are never resolved to decide.ca_cert,client_cert,client_key, orinsecure_skip_verifywithsecureomitted selects TLS, and any of them withsecure: falseis now a validation error rather than an ignored setting. Acollector_addressof0.0.0.0or::, 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 validateand 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 needssecure: falsein 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 writesecure: trueorsecure: falsewhenever 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 forlocalhost. The flag is--otel-secure[=true|false]everywhere, unset meaning automatic;init,deploy, andinstall.shrefuse a space-separated value (--otel-secure false) and point to--otel-secure=false.click-dog init --print-otel-secureprints the transport for an address without writing anything.click-dog deploy kubernetesanddeploy dockernow refuse a collector that is not loopback without--otel-secure=trueor--otel-secure=false, because they cannot see its network.install.sh install,install.sh docker, and the playbook (otel_secureis now optional) decide with the click-dog they install and check a TLS choice withclick-dog test tls, stopping on a plaintext receiver with--otel-secure=false(orotel_secure=false) named as the fix. The shippeddeploy/kubernetes/configmap.yamlsetssecure: truefor its placeholder collector; setsecure: falsethere 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.yamlrequested a Let's Encrypt certificate for the collector's name, and the Deployment mounted it as Click-Dog's mTLS client certificate withca_certpointing at the Secret'sca.crt. As shipped it could not work: ACME issuers do not writeca.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 withclient authusage. The Deployment mounts it, and an optionalclick-dog-otel-caConfigMap for a collector on a private CA, as/etc/click-dog/tls/client.crt,client.key(mode0440, readable through the newfsGroup: 65532), andca.pem(OTLP TLS), and no longer mountsclick-dog-otel-tls. If a working setup still readsclick-dog-otel-tls, for example after you swapped in a CA issuer, move it to the new Secret and paths before applying the newdeployment.yaml, or Click-Dog stops on the missing files (Migrate fromclick-dog-otel-tls). Then delete the old Secret and Certificate, and theletsencrypt-stagingandletsencrypt-prodClusterIssuers if nothing else uses them. - The Ansible playbook leaves Keeper off by default. It used to default
keeper_hoststolocalhost:9181, so every sidecar tried to join a leader election. Per-node sidecars need no Keeper for coverage; setkeeper_hostsonly for cluster-wideclick-dog flushand/clusterz. - Ansible fleets now get the
productionprofile's settings. The playbook template had drifted: itsblacklist_queries(^SELECT \* FROM system\.,SHOW TABLES,(?i)healthcheck) are replaced by the profile's^SYSTEMand^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
65532instead of root's group. The shipped Deployment andclick-dog deploy kubernetessetrunAsUser: 65532withoutrunAsGroup, and the image had no account for that user, so the container started with primary group 0 (root). Both now setrunAsGroup: 65532, and the sidecar example sets user and group65532on its container.click-dog deploy kubernetes --updateandinstall.sh kubernetes updatechange only the image tag. The image now runs as65532:65532(see that entry), which already gives such adeployment.yamlgroup65532, but addrunAsGroup: 65532besiderunAsUsertoo, 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'sfsGroup: 65532, as both Deployments now do; for a hostPath or NFS file, which the kubelet does not re-own, make it readable by group65532. - The container image runs as user and group
65532instead of100:101. The image'sclickdogaccount now has uid and gid65532, the identity the Kubernetes manifests set, and itsUSERis numeric. A pod that sets onlyrunAsUser: 65532, such as adeployment.yamlgenerated beforerunAsGroupwas added and then updated to this image, now runs in group65532instead of group 0. A pod that setsrunAsNonRoot: truewithoutrunAsUsernow starts: the kubelet refused the old namedUSER clickdogbecause it could not verify it was non-root. uid100no longer has an account, so a pod or service that setrunAsUser: 100or--user 100to match the old image now runs in group 0: switch it to65532, 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 alog_filedirectory, withchown 65532:65532(Install with Docker). click-dog initdefaults theproductionandparanoidprofiles to theclick_dog_monitoruser that every installer provisions, instead ofdefault.minimalstill uses the driver's default user. Pass--ch-user defaultto 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 (ALPNh2) 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 asca_certwithout a hand edit. See Install. - The Ansible playbook's OTLP TLS uses your CA and client certificate.
tls_enabledrequested 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. Setotel_secure=true, withotel_ca_certfor a collector on a private CA andotel_client_cert/otel_client_keyfor mTLS (OTLP TLS). The playbook now stops ontls_enabled=true, removes the old certbot renewal hook and itstls.crt/tls.key/fullchain.pemcopies, and stops rather than drop aca.pemor client pair already on a host that the inventory does not supply. Runcertbot 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:PORTchecks an OTLP receiver's TLS with the exporter's own code, against the system trust store or--ca-cert FILEalone: the certificate chain and dates, a subjectAltName for the address (never the Common Name), the client certificate given with--client-certand--client-key, and ALPNh2.--config FILE [--exporter N]checks a configured exporter with all its TLS settings and says plainly wheninsecure_skip_verifymeans nothing was verified. It prints a verdict, the certificates the receiver sent with their SHA-256 fingerprints, and the setting that fixes a failure;--jsonis a stable object and--chain-out FILEwrites the chain as PEM (Check OTLP receiver TLS). The installer's TLS checks run it, so they need noopenssl.install.sh --otel-securerenderssecure: truefor the OTLP receiver frominstall,docker,kubernetes, and the guided path. Oninstallit checks the TLS handshake with the downloaded release and exits before writing anything on a mismatch (Unattended install).click-dog deploy kubernetes --otel-secureandclick-dog deploy docker --otel-securerendersecure: trueunderexporters.otelin the generatedconfigmap.yamlorclick-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-caConfigMap andclick-dog-otel-clientSecret read-only at/etc/click-dog/tls/, for a private-CA collector or mTLS, and setfsGroup: 65532so the0440client key is readable by click-dog only. install.sh --otel-ca-cert FILEverifies 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 PATHrenders the sameca_cert, made absolute so the service finds it whatever its working directory, andinit --wizardasks 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_certandclient_keyonly 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_certis still read once at startup (Client certificate renewal). - Exported telemetry names the ClickHouse server version. Scheduled and
backfill exports set the
clickhouse.versionResource attribute to theversion()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 underuse_cluster_queriesduring a rolling upgrade (Span attributes).
Fixed¶
install.sh kubernetes updateandinstall.sh docker updaterefused a config that names TLS files. The update checks the config against the new image in a container that mounts only the config, so aca_cert,client_cert, orclient_keyset 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-certnamed a file with a certificate header but an unparseable body, andopensslwas 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:installstops before writing anything, and the guided install stops instead of offering to continue. install.sh dockerandinstall.sh kubernetesfailed 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 withpermission denied.install.sh kubernetes updatefailed 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 underuserns-remap, and on an SELinux daemon it lifts the container's label instead of relabeling your directory. The generated files belong to you. Theupdateconfig 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.yamlin the Docker directory is now always0644, 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 made0600before the password is written to it.install.sh --prereleasestopped 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, andkuberneteswith--prereleasereach 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
typeasquery_kindin both query-log readers replaced the statement column of the same name: a completedSELECTorINSERTexportedquery_log.operationasqueryfinishandquery_log.access_typeasotherinstead ofreadorwrite. Both readers now leavetypeunaliased. click-dog test tracingfailed 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 atUNKNOWN_TABLEalthough 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/zkv1.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/netv0.60.0, which the release gate enforces withgovulncheck. Together they clearGO-2026-6617,GO-2026-6613,GO-2026-6612,GO-2026-6611,GO-2026-6610,GO-2026-6605, andGO-2026-6603(net/http, HTTP/1 and HTTP/2),GO-2026-6608(net/textproto,mime/multipart),GO-2026-6607(crypto/tls),GO-2026-6600andGO-2026-6599(html/template), andGO-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, becausegolang.org/x/netv0.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-sideGO-2026-6443. - OpenTelemetry Go v1.45.0 for OTLP self-metrics, clearing
GO-2026-6505(exporter endpoint URLs written to info logs). klauspost/compressv1.18.7 under the ClickHouse driver, clearingGO-2026-5841(out-of-bounds read ins2, 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_logon 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_logbetween two timestamps, emitting synthetic spans for queries that qualify, then exit. Backfill covers the query log only; it does not replaysystem.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_cyclebounds 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_modeacceptsraw(the compatibility default),redacted,normalized_only, andnone, applied to scheduled native spans and query-log backfill alike. Privacy-restricting modes never fall back to raw text, including URL-encoded HTTPqueryparameters. A configuration carrying the olderfilters.redact_querieswith no mode set migrates to fail-closedredactedand warns at startup: unlike legacy redaction, a statement matching no rule is now omitted rather than exported. - Per-exporter
max_query_length, applied to livedb.statementvalues 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 queriesproduces a deterministicanalysis.report.v1JSON contract oversystem.query_log— four analyzers, stable condition identities, no LLM and no query rewriting.- Baselines and regression detection.
-save-baselinecaptures an exact-hash known-good artifact;-baselinecompares against it non-mutatingly and emitsanalysis.report.v2. Conservativelatency_regressionandfailure_spikeanalyzers suppress low-volume, partially matched, stale, and incompatible comparisons. - Policy gates and notifications.
-fail-on criticalor-fail-on warningmakes the report return exit3at that threshold for CI use, and-notifysends a boundedanalysis.notification.v1summary to a Slack-compatible webhook and/or the Datadog Events API. click-dog analyze tracedrills from a query family into its traces, with a guided-wizardflow.
Operating¶
- Health probes —
/healthz,/readyz,/status, and leader-served/clusterzon a listener separate from metrics, so a scrape failure cannot look like a liveness failure. The listener is opt-in: sethealth.enabled(theproductionstarter profile does) and it defaults to:8686. A separate admin listener carriesPOST /flush, kept off the scrape endpoint so/metricscan 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 byclick-dog validate, including an explicit disabled message, so a blank dashboard is diagnosable. - Three Datadog dashboards —
click-dog create-dashboardsprovisions 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 initandinit --wizardgenerate a starter configuration;checkvalidates configuration and connectivity;validatevalidates configuration offline without connecting to anything;backfill --start/--endexports a historical time range one-shot;test exportandtest tracingsmoke-test an exporter and native trace propagation;analyze queriesandanalyze tracerun query analysis;deploy kubernetesanddeploy dockerrender manifests,deploy statusinspects a local installation, anddeploy uninstallremoves a standard systemd installation after confirmation;create-dashboardsprovisions Datadog;self-updatereplaces the binary in place after verifying the release signature chain described under Security.test-spanremains as a deprecated alias fortest export, and--dry-runreads real data, discards the exports, and reports what would have shipped.click-dog flushasks 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$VARexpansion, validated byclick-dog validate, with logging at debug/info/warn/error to stderr or a rotating file.
Installation¶
install.shdownloads 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). Plaininstall.shresolves the latest GA, so reaching a-beta.Nbuild 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 - lookbackre-read lands within the session timeout instead of up to one check interval later. click-dog checknamed 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 namesGRANT REMOTE ON *.*, whichcluster()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.exceptionattribute it records on the query span, andredacted,normalized_only, andnoneexported it unchanged. Every privacy-restricting mode now drops exception messages and keeps exception codes. - Exact IPv4 entries in
whitelist_ipsnever matched. ClickHouse reports an IPv4 client as::ffff:a.b.c.d, and exact entries such as10.0.1.50were compared as strings, so every span from that client was dropped. Entries now compare as addresses; CIDR entries were unaffected. click-dog --config x validatestarted the daemon. Flag parsing stopped at the verb and nothing checked what was left. Arguments after the top-level flags now exit2and 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-baselinestores a baseline file,create-dashboardscalls the Datadog API,self-updatereplaces the binary on disk, and the webhook notifier makes outbound POSTs. - Signed artifacts. Container images are cosign-signed directly. For archives, cosign signs
checksums.txtand each archive is bound to it by SHA-256 — that is the chaininstall.shandself-updateverify: 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 -band the Ansibleclick_dog_local_binaryvariable 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_keywill 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 clearsGO-2026-6218(net/url),GO-2026-6091(html/template),GO-2026-6090(crypto/tls),GO-2026-6089andGO-2026-5026(net/http), andGO-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 samegovulncheckgate. - 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-bytrailer required on every contribution.
Deprecated¶
click-dog test-spanis a compatibility alias forclick-dog test export. Existing flags, stdout behavior, and exit status remain available; stderr names the replacement. No removal release is assigned.- The
-validateand-backfill-start/-backfill-endmode flags are compatibility aliases for thevalidateandbackfill --start/--endsubcommands. The flags keep working and now warn on stderr; the subcommands are the documented surface. No removal release is assigned.