Skip to content

Commit cd76b4e

Browse files
committed
Merge branch 'main' into usama.saqib/rr-refactor
2 parents 64a17d8 + 9d2b913 commit cd76b4e

16 files changed

Lines changed: 2838 additions & 218 deletions

File tree

.cargo/audit.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[advisories]
22
ignore = [
33
"RUSTSEC-2020-0159",
4-
"RUSTSEC-2026-0001", # rkyv 0.7.46 UB in Arc/Rc - transitive via rust_decimal <- byte-unit
4+
"RUSTSEC-2026-0001", # rkyv 0.7.46 UB in Arc/Rc - optional dep of rust_decimal <- byte-unit, never compiled
5+
"RUSTSEC-2026-0235", # rkyv 0.7.46 OOB read - optional dep of rust_decimal <- byte-unit, never compiled
56
"RUSTSEC-2024-0436", # paste unmaintained - transitive via parquet
67
]
78

CHANGELOG.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,27 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## Unreleased
8+
9+
## [0.33.0]
10+
### Changed
11+
- **Breaking Change**: Datadog blackhole now records received series under the
12+
`target/` prefix, matching the prometheus and expvar target metrics
13+
collectors. The `record` policy still matches on the unprefixed series name.
14+
- **Breaking Change**: Datadog blackhole does not record any target metrics by
15+
default.
16+
17+
### Added
18+
- Datadog blackhole now accepts a `record` policy (`all` / `disabled` /
19+
`series_to_keep: [...]`) controlling which received series are recorded as
20+
capture metrics.
21+
- OpenTelemetry metric payloads now prefix generated metric names with their
22+
metric kind to simplify intake debugging.
23+
- OpenTelemetry cumulative metric generation now updates cumulative sums using
24+
aggregation temporality, preserves cumulative histogram min/max bounds, and
25+
supports configurable histogram count limits. Cumulative explicit histograms
26+
now retain their state across payload generations.
27+
- HTTP blackhole now supports an `openmetrics` body variant for generated
28+
Prometheus/OpenMetrics scrape responses.
829
- Updated to rand 0.10.x
930
- `dogstatsd` generator now supports configurable pools for the `|c:` (container
1031
ID), `|e:` (external data), and `|card:` (cardinality) origin detection
@@ -13,7 +34,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1334
metric, or omits the field entirely if the pool is empty.
1435
- `dogstatsd` generator now supports DogStatsD protocol v1.3 `|T` timestamps
1536
for count and gauge metrics via `timestamp.range` and `timestamp.probability`.
16-
- Fixed: `dogstatsd` tag generation would silently fail with a misleading
37+
38+
### Fixed
39+
- `dogstatsd` tag generation would silently fail with a misleading
1740
`StringGenerate` error for any `tag_length` whose range collapses after
1841
reserving one byte for the `:` separator -- every constant or single-value
1942
range (e.g. `Constant(3)`, `Constant(4)`, `Inclusive { min: 100, max: 100 }`)
@@ -22,7 +45,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2245
returns a `Validation` error naming the offending range instead of the opaque
2346
`StringGenerate`.
2447

25-
## Removed
48+
### Removed
2649
- Removed no longer used `smaps.private_hugetlb.by_pathname` procfs observer
2750
metric.
2851
- Removed no longer used `smaps.swap_pss.by_pathname` procfs observer metric.

Cargo.lock

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ENV CARGO_INCREMENTAL=0
1818
WORKDIR /app
1919
RUN apt-get update && apt-get install -y \
2020
pkg-config=1.8.1-1 \
21-
libssl-dev=3.0.18-1~deb12u2 \
21+
libssl-dev=3.0.20-1~deb12u2 \
2222
protobuf-compiler=3.21.12-3 \
2323
fuse3=3.14.0-4 \
2424
libfuse3-dev=3.14.0-4 \
@@ -56,7 +56,7 @@ ENV SCCACHE_REGION=${SCCACHE_REGION}
5656
WORKDIR /app
5757
RUN apt-get update && apt-get install -y \
5858
pkg-config=1.8.1-1 \
59-
libssl-dev=3.0.18-1~deb12u2 \
59+
libssl-dev=3.0.20-1~deb12u2 \
6060
protobuf-compiler=3.21.12-3 \
6161
fuse3=3.14.0-4 \
6262
libfuse3-dev=3.14.0-4 \
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
otel_metrics_grpc: 1a99c0f4baf2470e547d0038dcaa6e7f134a1a31ae9dea50460e21f5e4e3a562 entropy=6.7343
1+
otel_metrics_grpc: 3cd72bf5b323d0482a620db2383d4f81e257a91eeb58090888bc5b2a27502b57 entropy=6.8202

examples/lading-openmetrics.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
blackhole:
2+
- http:
3+
binding_addr: "127.0.0.1:9100"
4+
concurrent_requests_max: 1000
5+
response_delay_millis: 100
6+
body_variant:
7+
openmetrics:
8+
metric_name_prefix: "om_scale"
9+
include_help: true
10+
include_type: true
11+
counters:
12+
count: 240
13+
gauges:
14+
count: 180
15+
histograms:
16+
count: 20
17+
buckets: ["0.005", "0.01", "0.025", "0.05", "0.1", "0.25", "0.5", "1", "2.5", "5"]
18+
summaries:
19+
count: 40
20+
quantiles: ["0.5", "0.75", "0.9", "0.95", "0.99"]
21+
labels:
22+
services: ["checkout", "catalog", "payments", "fulfillment", "search"]
23+
regions: ["us-east-1", "us-west-2", "eu-central-1", "ap-southeast-1"]
24+
methods: ["GET", "POST", "PUT", "DELETE"]
25+
status_classes: ["2xx", "3xx", "4xx", "5xx"]
26+
consumers: ["consumer-00", "consumer-01", "consumer-02", "consumer-03"]
27+
route_count: 60

lading/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lading"
3-
version = "0.32.0"
3+
version = "0.33.0"
44
authors = [
55
"Brian L. Troutwine <brian.troutwine@datadoghq.com>",
66
"George Hahn <george.hahn@datadoghq.com>",

0 commit comments

Comments
 (0)