Skip to content

Releases

Pre-release binaries

Pre-release binaries Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 May 08:08
fc0dd2a
  • This pre-release is built from the latest source code. Whenever a new change is pushed to the master, this release gets updated.
  • Docker equivalent of this release will be the "main" or "master" tag.
    docker run ghcr.io/cloudprober/cloudprober:main or
    docker run cloudprober/cloudprober:main
    

v0.14.7: Native Histograms and security updates

Choose a tag to compare

@manugarg manugarg released this 27 Oct 16:55
2538e69

📊 Native Histograms

Native (sparse exponential) histograms give you high-resolution latency distributions without choosing or maintaining bucket boundaries, at a fraction of the series cost of fine-grained fixed buckets.

  • Distribution now supports native buckets. (#1514)
  • OpenTelemetry: exported as exponential histograms. (#1515)
  • Prometheus: new protobuf exposition with native histograms (requires native histogram ingestion on your Prometheus server); distributions are now kept as one data point. (#1516, #1517)
  • New docs and example config. (#1518)

🛠️ Other Changes

  • configtest catches more init errors. (#1525)
  • Warn when latency is both a number and a distribution. (#1520)
  • Fixed Dependabot alerts; Go raised to 1.26.10. (#1537)
  • Build/CI: pinned protoc plugins, dist.proto switched to proto2, coverage kept on test reruns, flaky test fixes. (#1528, #1519, #1521, #1522, #1524)
    Full Changelog: v0.14.6...v0.14.7

v0.14.6

Choose a tag to compare

@manugarg manugarg released this 28 Sep 16:31
1d52d99

This release adds OpenTelemetry tracing for HTTP probes and Gateway API HTTPRoute discovery for Kubernetes. It also fixes several reliability problems seen in long-running deployments: logging that could stall probing, zombie processes left behind by browser probes, gRPC probes stuck on dead connections, and Kubernetes discovery hanging on an unresponsive API server.

⚠️ Behavior Changes

Check these before upgrading:

  • Prometheus: stale metrics now expire — Metrics exported without a timestamp (counters by default, and everything when include_timestamp: false) used to stay in /metrics, and in memory, for the life of the process, even after their probe or target was gone. They now expire 4h after their last update. Histograms now also expire after 4h instead of 10m. Timestamped metrics still expire after 10m. Set stale_metrics_expiration_sec: 0 to keep the old never-expire behavior (#1445).
  • OTel surfacer: insecure together with tls_config is now a startup error — Previously TLS silently won. The OpenTelemetry SDK itself treats this combination as an error, so a config that sets both now fails at startup. Remove whichever one you don't mean. endpoint_url must also be a full http(s)://host... URL now; a schemeless host:port used to pass validation and then fail on every export (#1496).
  • Validators are checked against the probe type — A probe-specific validator on an incompatible probe type (for example, an HTTP validator on a DNS probe) is now rejected at startup. Before, it silently did nothing at runtime. Thanks @Guflly! (#1407)
  • gRPC probes reconnect after timeouts — See Bug Fixes below. A backend that is up but consistently slower than the probe timeout now costs one reconnect per failed probe (#1501).
  • Kubernetes endpoints labels — If an Endpoints object has its own node or pod label, targets now report that value instead of overwriting it (#1489).

🔭 OpenTelemetry Tracing for HTTP Probes

HTTP probes can now start a root span for each request, export it to an OTLP collector, and propagate W3C trace context to the target, so probe requests show up in your distributed traces. Tracing is off by default. It's configured once, in a new top-level tracing block, and applies to every probe that supports it (HTTP for now). Thanks @cbroglie! (#1358)

tracing {
  otlp_http_exporter {
    endpoint_url: "http://otel-collector:4318/v1/traces"
  }
  sampling_fraction: 0.1  # defaults to 1.0
}

Follow-ups:

  • Spans are now flushed with --run_once, and the flush on shutdown is time-bounded, so an unreachable collector can't hold up exit (#1494).
  • The tracing config and the OTel metrics surfacer now use the same OTLP exporter config, so both validate it the same way. Existing textproto configs and the Go config facade are unchanged (#1496).

☸️ Kubernetes Targets

  • Gateway API HTTPRoute discovery — New http_routes resource type, analogous to ingresses. Each route expands to one target per (hostname, path), with fqdn and relative_url labels. Routes without hostnames or with wildcard hostnames are skipped, as are regex path matches. Requires the Gateway API CRDs in the cluster (#1424).

    targets {
      k8s {
        http_routes: ".*"
      }
    }
    
  • namespace label — All discovered resources (pods, services, endpoints, ingresses, HTTP routes) now carry a namespace label. You can use it in @target.label.namespace@ and filter on it with labels.namespace (#1489).

  • API server timeouts — Calls to the API server now time out after 30s. Before, a server that accepted the connection but never responded froze that resource type's refresh permanently: targets went stale and stayed that way until a restart. Failed refreshes now keep the last good target list and retry on the next tick (#1485, #1486).

🛡️ Reliability

  • Logging can no longer stall probing — If whatever reads cloudprober's stderr stalls (for example, a container runtime's log writer on a node with a stuck disk), writes used to block. Every goroutine that logged then blocked behind them, and probing gradually stopped. Stderr writes now go through a bounded 4 MiB async queue. If the queue fills, new entries are dropped and counted, a dropped_entries=N warning marks the gap in the log stream, and the new dropped_log_entries sysvar metric makes the stall visible. raw_stderr_output from external and command probes goes through the same queue (#1481, #1482).
  • Zombie process reaping — Browser probes could leave behind thousands of headless_shell <defunct> processes when cloudprober ran as PID 1 in its container. Cloudprober now reaps orphaned zombies, but only when it is PID 1 or a child subreaper, and only zombies that have gone unclaimed for 5 minutes, so it never races a probe waiting on its own child. This also fixes a busy-spin in the process-group reaper that could pin a CPU during browser probe runs. Running with shareProcessNamespace: true on Kubernetes or docker run --init bypasses the new reaper entirely (#1455).

🔒 Security & Privacy

  • redact_url_query_in_logs for HTTP probes — A new opt-in HTTP probe option that replaces URL query parameters with <redacted> in probe logs, for endpoints that carry secrets in the query string. It also covers the URL net/http embeds in redirect errors. Thanks @markoposavec! (#1410, #1477)
  • Header values containing @ — Any header value containing an @ (an API key, for example) used to be treated as a template for @label@ substitution, which meant it was logged on probe errors. A header now counts as dynamic only if substitution actually changes it (#1453).
  • Dependency bumps — grpc-go 1.83.2 (CVE-2026-84304 / GHSA-vp52-pcj8-j9qc, GHSA-2v4p-qf9q-27wj), OpenTelemetry-Go v1.45.0 (exporter config logging could leak endpoint URLs), and docs-site dependencies (fast-uri, brace-expansion, nanoid, js-yaml) (#1454, #1479, #1497, #1459).

✨ Other Improvements

  • UDP echo server: max_payload_size — The built-in UDP server can now receive datagrams of up to 65535 bytes. The default is 4098. Thanks @muff1nman! (#1490)
  • Built-in web pages — Cloudprober's own web UI uses the new logo and has a more compact header (#1474, #1475).

🐛 Bug Fixes

  • gRPC probes stuck on a dead connection — If a backend went away silently, gRPC kept the cached connection READY, and every probe timed out until TCP gave up (~15 min). The cached connection is now dropped on DeadlineExceeded or Unavailable, so the next run reconnects. GENERIC probe errors now keep the gRPC status code, and a stray fmt.Println of the request body is gone (#1501).
  • HTTP(S) file targets — file_targets pointing at an http(s):// URL failed because the scheme was stripped before the request was made. Thanks @Synehan! (#1432). A related connection leak on non-200 responses is also fixed (#1499).
  • OTel surfacer TLS config — Setting most tls_config fields on the OTel surfacer panicked at startup, and an empty tls_config {} was silently ignored (#1495, #1493).
  • Probestatus startup panic — Cloudprober panicked at startup when resolution_sec * timeseries_size was under a minute. Thanks @erik-bessegato! (#1448)
  • HTTP probe connection leak — The response body wasn't closed when reading it failed, so a server that kept truncating responses leaked one connection per probe (#1476).

📚 Docs & Website

  • New Cloudprober logo across the site and in the logo kit (#1461, #1466, #1468, #1471).
  • Getting Started guide fixes (broken config snippet, wrong sample output), plus docs on the config path, web endpoints, and the sys-metrics opt-out (#1433, #1434).
  • Homepage refresh: shows the install command and a real config, less duplica...
Read more

v0.14.5 - Mostly housekeeping release with some DNS probe changes and a couple of fixes

Choose a tag to compare

@manugarg manugarg released this 26 Aug 18:12
7aa7a30

A small, mostly housekeeping release: Cloudprober now builds with Go 1.26.6 (clearing CVE-2026-39821 from container scans), authoritative DNS servers get first-class probing support, and installing Cloudprober is down to a single command.

🔒 Security & Toolchain

  • Go 1.26.6 — Cloudprober now builds with Go 1.26.6, which addresses CVE-2026-39821. Most deployments were never exposed (the issue needs an attacker-controlled hostname to be parsed), but the published binaries and images now come back clean from container scanners (#1426, #1427).
    • Note for library users: go.mod now declares go 1.26.6 (was 1.25.12), so importing Cloudprober as a Go module requires a 1.26.6+ toolchain. Binary and container users are unaffected.
  • install.sh hardening — All downloads in the installer now pin --proto =https --proto-redir =https, so a redirect can't silently drop the transfer to plain HTTP (#1405).
  • Dependency bumps — Docs-site dependencies updated for Dependabot alerts: postcss, fast-uri, js-yaml, brace-expansion, linkify-it (#1393, #1408, #1422).

🌐 DNS: Probing Authoritative Servers

Two changes that together make Cloudprober a proper fit for monitoring authoritative nameservers, rather than just resolvers (#1193):

  • recursion_desired option — The DNS probe now lets you control the RD flag on outgoing queries. It defaults to true, so existing configs behave exactly as before; set it to false to query an authoritative server the way a real resolver would (#1395).

  • New dns_validator — Validate the response itself, starting with an authoritative criterion that asserts the AA flag matches what you expect (#1396):

    validator {
      name: "authoritative"
      dns_validator {
        authoritative: true
      }
    }
    

    The DNS probe now hands the full *dns.Msg to validators via Input.Response, the same way the HTTP probe passes HTTP responses. Input.ResponseBody still carries just the answer section, so existing regex validators are unaffected.

📦 Installation

  • One-line installer — curl -sSL https://cloudprober.org/install.sh | sh is now the primary install method. It detects your platform, resolves the latest version from the /releases/latest redirect (no GitHub API rate limits), verifies the SHA-256 checksum, and installs to /usr/local/bin or ~/.local/bin. VERSION and INSTALL_DIR override the defaults (#1403).
  • tar.gz archives and checksums — Releases now ship .tar.gz archives for Linux and macOS alongside the existing zips (Windows stays zip-only), plus a cloudprober-<version>-checksums.txt with SHA-256 sums for every archive (#1402).

🐛 Bug Fixes

  • Browser probe: S3 artifact storage with IRSA — A partial AWS SDK for Go v2 upgrade left the STS client incompatible with the newer SDK core's retry middleware, so the startup HeadBucket check failed with failed to refresh cached credentials … not found: Retry whenever credentials came from IAM Roles for Service Accounts. The full AWS SDK v2 module family (core, config, credentials, IMDS, CloudWatch, S3, STS, SSO) is now on mutually compatible versions. Thanks @aholden85! (#1416, #1417)
  • Probestatus: status page start time — The prober start time was embedded in the page using Go's default time.Time format, which new Date() can't parse. That threw a RangeError out of the document-ready handler and took the rest of the page's setup down with it. It's now emitted as RFC3339. Thanks @erik-bessegato! (#1412)
  • Probestatus: deferred chart load — The status page called c3's chart.load() with no arguments, which throws on every page load. Fixed, so the charts render as intended. Thanks @erik-bessegato! (#1413)
  • Example config validation — tools/test_example_configs.sh globbed examples/**/*.cfg without enabling globstar, so bash quietly matched only one level deep and seven nested example configs were never validated by CI. With globstar on, one of them turned out to be broken: examples/targets/file/cloudprober.cfg used // comments, which textproto rejects. Both fixed (#1421).

📚 Docs

  • New dual-stack (IPv4 + IPv6) probing example (#1420).
  • New FAQ entry on using a custom CA with BROWSER probes (ERR_CERT_AUTHORITY_INVALID) (#1418).
  • CONTRIBUTING now asks for a linked issue and a real use case with pull requests (#1415).
  • README updated with a Live Demo link, and blog/Slack shortlinks added (#1398).

🎉 New Contributors

Welcome to @aholden85 and @erik-bessegato, both first-time contributors in this release!

Full Changelog: v0.14.4...v0.14.5

v0.14.4: Introducing Script Probes, plus SQL and gRPC Sidecar Probes

Choose a tag to compare

@manugarg manugarg released this 27 Jul 16:23
c09cf29

This release introduces Starlark script probes — write real probe logic in a sandboxed scripting language, with cross-run state, custom metrics, JWT/OAuth auth, and full HTTP control — alongside two more new major probe types, SQL and EXTERNAL_GRPC. Several CI, security, and docs improvements round things out.

🧩 New: Script Probes (Starlark)

The headline feature of this release is the script probe — write your probe logic directly in Starlark, a small, sandboxed, Python-like language embedded in Cloudprober.

Plenty of real checks don't fit a single HTTP request: log in, grab a token, call an API with it, assert on something in the response body, then emit a metric derived from what you found. Until now that meant either an external probe (a separate binary, process-per-run, no structured contract) or a patch to Cloudprober itself. Script probes let you express that logic inline in your config — no extra binary to build, ship, or version — while still getting the standard latency, success, and failure metrics plus full alerting integration that every other probe type gets. Scripts run sandboxed with no filesystem or arbitrary network access beyond the builtins Cloudprober exposes, so config authors can't accidentally turn a probe into a shell.

What's available at launch:

  • Core builtins: vars (probe-level variables exposed to scripts), log (with set_attr for per-run logger attributes), state (per-target memory that persists across runs), and print_metric (emit your own custom metrics).
  • HTTP: http.get/put/patch/delete, max_redirects and keep_alive kwargs, tls_config for custom CA / mTLS / SNI / skip-verify, and per-call TLS selection via a tls= kwarg.
  • Auth: jwt.encode for JWT-bearer APIs, and an oauth builtin for token and header handling.
  • Assertions: assert.http_status for checking response codes.
  • Docs: a Script Probe (Starlark) how-to, surfaced on the top-of-funnel pages.

🔌 Two More New Probe Types

SQL Probes

Cloudprober can now probe SQL databases directly, starting with a POSTGRES flavor. Until now, checking database health meant either bolting on an external exporter or writing a custom probe just to run a query and check the result. With a native SQL probe type, you can point Cloudprober at a Postgres instance, run a query on a schedule, and get the same latency/success/failure metrics and alerting integration as every other probe type — connection health, query latency, and query-result validation all become first-class signals alongside your HTTP and gRPC checks. It's a foundation to build on: the flavor-based design means support for other SQL backends (MySQL, etc.) can be added without changing the probe's config surface.

EXTERNAL_GRPC Probes

This is the biggest architectural addition in the release: a new EXTERNAL_GRPC probe type that delegates the actual probe run to a gRPC sidecar process, with full TLS/mTLS support for securing that connection.

Cloudprober has long supported EXTERNAL probes (shelling out to an external binary), but that model is limited — no structured request/response, no streaming, and process-per-run overhead. EXTERNAL_GRPC replaces that with a proper gRPC contract: Cloudprober calls out to a long-lived sidecar over a defined protocol instead of spawning a process each run. That unlocks probe logic in any language with a gRPC library — not just what you can compile into Cloudprober's Go binary — while keeping the sidecar process warm and stateful between runs. It's the cleanest path yet for teams who want to write custom, complex probe logic (e.g. multi-step business transactions, non-HTTP protocol checks) without forking Cloudprober itself, and the added mTLS support means that sidecar boundary can be locked down for production use.

🔔 Alerting

  • New Microsoft Teams notifier (thanks @dmesad!).
  • Added a 30s timeout to notifications; fixed Slack typos/headers; cleaned up variable names and constants across Slack and Teams notifiers.
  • Command notifier now reaps child processes correctly.

🌐 HTTP Probes

  • Dynamic headers, including @uuid@ substitution.
  • Dynamic headers are now logged on probe errors; Host header substitution was dropped.

🛠️ Other Fixes & Improvements

  • File surfacer: fixed 32-bit alignment for atomic operations, made close() idempotent (thanks @amdw!).
  • Postgres surfacer: now uses pgxpool to recreate connections after drops (thanks @markoposavec!).
  • Config parsing: bufio.Scanner errors are now surfaced during parsing (thanks @karlpvoss!).
  • Surfacer additional labels: validation now trims whitespace before checking (thanks @immanuwell!).
  • json_metric now accepts integer jq results.
  • Browser probes: new internal_errors metric for missing-toolchain failures and browser-launch timeouts; Dockerfile.pw now calls playwright directly and installs ca-certificates.
  • External serverutils: fixed a late-binding closure bug and a logging error.
  • Go and dependencies upgraded to address vulnerabilities, including CVE-2026-53486 (decompress path traversal).

📚 Docs & Site

  • Homepage modernized: tightened hero-to-logos spacing, slimmed the trusted-by band, fixed footer links (Resources, Browser Probe, Blog → Medium, How-to/FAQ), and corrected the hero font.
  • Config docs version dropdown now sorts newest-first; CI fixed to pick up new release tags in "all" mode.

🧰 CI / Build

  • Enforced pinned dependency versions across Go (go mod download), npm (npm ci), and Python (py_serverutils).
  • Sped up the Go build/test workflow; regenerated gRPC proto code.
  • Bumped CI Node to 20 for @xhmikosr/decompress.

👋 New Contributors

Welcome to @immanuwell, @karlpvoss, and @dmesad, all making their first contributions this release!

Full Changelog: v0.14.3...v0.14.4

v0.14.3

Choose a tag to compare

@manugarg manugarg released this 23 Apr 18:28
18cab4f

Cloudprober v0.14.3 Release Notes

New Features

  • In-memory logging with web UI 🎉 — Now you can see logs in Cloudprober Web UI itself (go to /logs). Added in-memory log storage with a web UI, plus log retrieval via the GetProbeStatus gRPC (#1285, #1286)
  • RunOnce support across probe types — Added the ability to run probes once (on-demand) across multiple probe types, factored out into shared sched code to avoid duplication (#1256, #1258, #1259, #1260, #1257, #1261, #1262)
  • Probe status gRPC — Added GetProbeStatus gRPC for querying ongoing probe health (#1229)
  • HTTP negative test support — Added negative test support to the HTTP probe (#1254)
  • Custom Targets update interval — Added a custom interval option for targets update, courtesy of new contributor @arshbhatti8 (#1255)
  • BigQuery wide_rows mode — Added a wide_rows mode for one-row-per-EventMetrics output in the BigQuery surfacer, from new contributor @PovilasV1 (#1283)
  • Deeper config validation — Extended ConfigTest to validate probe config fields more thoroughly (#1275)
  • External probe raw stderr logs — Added an option to send raw logs to stderr from external probes, from new contributor @himanhsugusain (#1292)

Bug Fixes & Reliability

  • Goroutine and connection leak fixes — Replaced time.Tick() with time.NewTicker() to prevent goroutine leaks, and added missing resp.Body.Close() calls to prevent connection leaks (#1279, #1280)
  • Probestatus cache eviction — Fixed unbounded growth by evicting stale entries from the probestatus surfacer's pageCache (#1282)
  • Test stability — Fixed a sporadic panic in file surfacer tests, improved Windows test compatibility for command probes, and reduced CI flakiness in command tests (#1288, #1263, #1294)
  • Better error messaging — Improved error messages for ping listen failures and IPv6 probes, with a new troubleshooting entry for the latter (#1252, #1266)

Security & Dependencies

  • Dependabot fixes — Addressed multiple open dependabot security vulnerabilities, including OpenTelemetry-specific fixes (#1248, #1287, #1289)
  • Dependency bumps — Upgraded gRPC (1.67.1 → 1.79.3), pgx/v5 (to 5.9.2), npm packages, and Go (to 1.25.9) (#1270, #1293, #1295, #1281, #1290)

Docs

  • New docs additions — Added an FAQ section, common probe options documentation, a ping permissions caution, and a URL shortener system at cloudprober.org/goto/<keyword> (with the helper script later moved to tools/) (#1244, #1271, #1246, #1249, #1251)

New Contributors

Welcome to @arshbhatti8, @PovilasV1, and @himanhsugusain for their first contributions!

Full Changelog: v0.14.2...v0.14.3

v0.14.2 - New features and bug fixes

Choose a tag to compare

@manugarg manugarg released this 09 Mar 18:18
0e226d8

🎉 New Features

System Probes

  • Added new system probe type for monitoring machine metrics including CPU, memory, and network stats (#1183)
  • Extended system probe with disk usage statistics (#1201)

Configuration

  • Support for relative imports in Jsonnet configs, making config management easier (#1230)
  • Added ability to delay probe startup for better orchestration (#1215)

Browser Probes

  • Improved global artifacts page with better navigation (#1227)
  • Enhanced disk space management with early cleanup cycles (#1196)
  • Comprehensive browser probe documentation with demo (#1202, #1206, #1221, #1223)
  • Improved artifact handling for single-target browser probes (#1219, #1220)
  • Updated to latest Node.js and Playwright versions (#1228)

Prometheus Integration

  • Changed default behavior of include_timestamp option. Default behavior should work better for most use cases. (#1169)

OAuth & Authentication

  • Customizable 'Authorization' header token type format for OAuth (#1187)

Other Enhancements

  • Added support for custom response headers in HTTP server (#1195)
  • Enabled gRPC port configuration via environment variable (#1212)
  • Added RunProbe API to Cloudprober gRPC service for programmatic probe execution (#1186)
  • Added config tester link to the configuration menu (#1172)

🐛 Bug Fixes

HTTP Probes

  • Fixed max_redirects handling and off-by-one error in redirect logic (#1216, #1218)

Ping Probes

  • Corrected IPv4 source address handling in ping probe sockaddr (#1189)

Metrics & Data Processing

  • Fixed concurrency bug in payload parser aggregation that could cause data races (#1235)
  • Fixed bug in timeseries processing (#1232)
  • Ensured payload metrics use the same timestamp as main metrics for consistency (#1163)
  • Added label sorting when processing JSON metrics for deterministic output (#1233)

Logs Noise

  • Reduced log noise when collecting disk usage statistics (#1226)
  • Rate-limited "write-channel-full" log messages in file surfacer to prevent log spam (#1191)

Scheduling

  • Skip metric export when probe context is canceled, preventing invalid data (#1147)

External Probes

  • Improved stderr handling in external server probes to continue reading on buffer overflow (#1144)

📚 Documentation Improvements

  • Enhanced getting started guide (#1208)
  • Improved "What is a Probe" documentation (#1210)
  • Renamed "About" section to "Community" for clarity (#1176)
  • Updated website overview page (#1175)
  • Updated contributing guidelines (#1198)
  • Added Kubernetes liveness and readiness probe examples (#1023)
  • Added HTTP TLS probe example configuration (#1152)
  • Created consolidated targets examples directory with filter demonstration (#1154, #1181)

🔧 Improvements & Refactoring

Logging

  • Standardized probe failure logging across all probe types (#1164)
  • Improved validator logging for better debugging (#1156)

Code Quality

  • Enhanced web package test coverage (#1225)
  • Refactored singlerun output conversion for better reusability (#1197)
  • General web package refactoring (#1227)

Protobuf Management

  • Made protobufs publicly available via facades (#1165, #1188)
  • Added enum support for proto facade generation (#1167)

🔒 Security Updates

  • Upgraded Playwright to latest version addressing security vulnerabilities (#1161)
  • Upgraded multiple dependencies for security patches (#1182)
  • Upgraded OpenTelemetry SDK from 1.22.0 to 1.40.0 (#1237)
  • Updated js-yaml from 4.1.0 to 4.1.1 (#1179)

🏗️ Build & Infrastructure


New Contributors

Thank you for your contributions! 🎉

Full Changelog: v0.14.1...v0.14.2

v0.14.1 - Many browser probe changes including a better artifacts UI, a new single run interface and other changes

Choose a tag to compare

@manugarg manugarg released this 04 Sep 16:47

What's Changed

A lot of browser probe changes

  • Advanced web UI to browse artifacts like screenshots and traces.
    • [probes.browser] Make accessing playwright reports quicker by @manugarg in #1073
    • [probes.browser] First check-in for advanced web version by @manugarg in #1074
    • [probes.browser] Artifacts browsing: add filtering by start and end time. by @manugarg in #1077
    • [probes.browser] Quickly identify artifacts for failed probes. by @manugarg in #1078
    • [probes.browser] Show timezone in datetime selector labels. by @manugarg in #1087
  • Improvements to test spec matching
    • [probes.browser] Make test matching more flexible and deterministic. by @manugarg in #1082
    • [probes.browser] Make testspec matching less sensitive to testDir path. by @manugarg in #1085
  • [probes.browser] Support retries and provide more options for saving traces by @manugarg in #1103
  • [probes.browser] Simplify web server root logic by @manugarg in #1112
  • [probes.browser] Configure workdir to cleanup every hour by default by @manugarg in #1113
  • [probes.browser] Wait longer for child processes cleanup by @manugarg in #1129

Introducing single run interface to cloudprober

Other Changes

  • [servers.udp] Don't use batched read write if IPv6 is not available. by @manugarg in #1067
  • [prober] Improve inter-probe wait for large interval probes by @manugarg in #1071
  • [surfacers.prometheus] Add an option to disable metrics expiration. by @manugarg in #1094
  • [surfacers.prometheus] Control include timestamp behavior through a flag. by @manugarg in #1096
  • [http.probe] Use latency metric name for latency breakdowns as well by @manugarg in #1111
  • [surfacers] Provide a way to add new surfacer types by @manugarg in #1126
  • [metrics.payload] Fix initialization of json and header metrics by @manugarg in #1102
  • [targets.file] Set IP to target name if IP is not provided by @manugarg in #1100
  • [probes.http] Update target labels even if target resolution fails @manugarg #1136
  • Use net.JoinHostPort to combine host and port by @kaoet in #1105

Documentation and Build

New Contributors

Full Changelog: v0.14.0...v0.14.1

v0.14.0 - Browser and gRPC probe improvements, UDP probe bug fixes, and more

Choose a tag to compare

@manugarg manugarg released this 15 Apr 22:46
efaad1a

What's Changed

Browser probe robustness improvements

Note: If you've already started using browser probe (thanks for trying early), please note there have been some minor config API changes in artifacts_options. This probe's config API will become more stable from this release onward, but there may still be some breaking changes in the next release. We'll try to maintain the backward config compatibility after that.

  • [prober.browser] Implement global_artifacts_options. Most teams/users would want to configure same artifacts options for all probes. by @manugarg in #1045
  • [probes.browser] Allow serving on custom webroot directory by @manugarg in #965
  • [probes.browser] Set playwright global timeout to slightly before probe timeout by @manugarg in #998
  • [probes.external] Make payload labels parsing more robust. by @manugarg in #976
  • [metrics.payload] Allow accepting and rejecting payload lines based on regex. Use this functionality to remove spurious parsing failure messages in the browser probe by @manugarg in #1003
  • [probes.browser] Fix bug in localstorage cleanup handler by @manugarg in #987

gRPC probe enhancements

  • [probes.grpc] Allow reading request body from a file. by @manugarg in #981
  • [probes.grpc] Provide an option to not reuse connections. by @manugarg in #1036
  • [probes.grpc] Provide a way to specify default load balancer config. by @manugarg in #1037
  • [probes.grpc] Quickly return an error for xds URIs if xds support not enabled by @manugarg in #1038

Web interface improvements

  • [web] Keep an account of all handled URLs and display them at /links by @manugarg in #1010
  • [web] Restructure header links and add link to artifacts page by @manugarg in #1011
  • [web] Fix links for cases when serving behind reverse-proxy with non-root path mapping by @manugarg in #1025
  • [web] Use HTML redirects for redirects by @manugarg in #1028
  • [status.graph] Don't try to graph NaN values by @manugarg in #1034

UDP probe fixes

  • [probes.udp] Fix a bug in packets processing by @manugarg in #1035
  • [probes.udp] Bug-fix: don't add worker to working group prematurely by @manugarg in #1029
  • [probes.udp] Don't export metrics for targets that don't exist anymore by @manugarg in #1033

Other visible improvements

  • [common.oauth] Simplify OAuth config and add an example config by @manugarg in #1054 and #1055.
  • [common.oauth] Streamline token refresh behavior by @manugarg in #1057
  • [targets.resolver] add dns-over-tls to dns_options by @otkd in #984
  • [logger] Fix disable_cloud_logging for global resolver by @manugarg in #1020
  • [labels] For dynamic labeling, use endpoint's IP address label if present by @manugarg in #1009

Internal interfaces and tests improvements

  • [prober] Refactor prober init and startup code to simplify and streamline by @manugarg in #1018
  • [probes.http] Streamline payload metrics handling by @manugarg in #1017
  • [surfacers.probestatus] Restrict to just one proberstatus instance by @manugarg in
  • [probes.http] Refactor http-probe:scheduler interface. by @manugarg in #967
  • [probes.http] Add a test to verify that disabling http2 works by @manugarg in #992
  • [probes.http] Fix an error in HTTP test failure msg string by @manugarg in #1001
  • [probes.http] Fix the http probe binary by @manugarg in #971
  • [probes] Cleanup scheduler interface usage after #967 by @manugarg in #972
  • [probes.http] Improve HTTP tests speed. by @manugarg in #973
  • [probes.udplistener] Improve test speed by @manugarg in #974
  • [probes.http] Minor readability refactoring by @manugarg in #986
    #1026
  • [state] Rename config/runconfig to state by @manugarg in #1008
  • [probes.browser] Move storage files into their own package by @manugarg in #1015
  • [prober.test] Explicitly close the temp file by @manugarg in #1021
  • [probes.udp] Initialize udp(|listener) probe config with zero values if config is not given by @Koaxiel in #1032
  • [tlsconfig] Move tlsconfig (back) to common. by @manugarg in #1040
  • [oauth] Move oauth (back) to common. by @manugarg in #1041
  • [probes.browser] Move artifacts to its own package. by @manugarg in #1043
  • [probes.browser] Missed fixing cleanup handler in last change by @manugarg in #1044
  • [web.status] Fix a CSS link for the status page. by @manugarg in #1047
  • [probes.tcp] Add TLS support to TCP probe by @manugarg in #1060

Documentation

Build changes and security upgrades

New Contributors

Full Changelog: v0.13.9...v0.14.0

v0.13.9: Browser probe launch and other changes

Choose a tag to compare

@manugarg manugarg released this 22 Jan 18:40
0c56e9f

Browser probe 🎉

Cloudprober finally gets the browser probe, making it a more complete probing solution. I'll soon write an article on how to use this probe type. In the meantime, please take a look at the instructions in the PR. Note that browser probe interface is still evolving and some things might change.

Other Changes

Security Updates

  • Bump golang.org/x/crypto from 0.28.0 to 0.31.0 by @dependabot in #943
  • [security] Upgrade golang.org/x/net for security by @manugarg in #948

Bug Fix

  • [probes.http] Fix proxy connect header. by @manugarg in #932
  • [probes.dns] Add ptype="dns" label to all DNS probe metrics by default by @rhodesn in #924

Enhancements

  • [config] Make BaseVars and Sysvars cumulative by @manugarg in #937
  • [probes.external] Merge config and server proto by @manugarg in #956, #962
  • [tls] Allow setting min and max TLS version by @manugarg in #968
  • [probes.browser] Add cleanup options for local storage by @manugarg in #955
  • [probes.browser] Add support for Azure Blob Storage by @manugarg in #957
  • [prober.browser] Support generic OAuth based auth for Azure by @manugarg in #959

Build/dev Changes

Docs

  • [docs] Cleanup dangling rds/ reference, which should be internal/rds by @conallob in #913
  • [docs] Version config docs by @manugarg in #914
  • [docs] Skip menu header for non-latest config docs by @manugarg in #916
  • [docs] Add version to the generated doc title by @manugarg in #917
  • [docs] Update release config docs workflow by @manugarg in #920
  • [docs] Add an option to regenerate all release-specific config docs by @manugarg in #925
  • [docs] Fix config docs generation script by @manugarg in #926
  • [docs] Add config docs version selector. by @manugarg in #927
  • [docs] Show Cloudprober users more prominently by @manugarg in #938

New Contributors

Full Changelog: v0.13.8...v0.13.9