mirror of
https://github.com/block/buzz.git
synced 2026-10-30 14:01:37 +00:00
A few things to prepare for deploying the Buzz push gateway as implemented in #6269: - Cut `buzz-push-gateway` chart `0.2.0` from the current config (certificate auth, dogfood client) - Datadog-compatible metrics - Align the desired schema, metrics docs, and production ingress guidance with the current dogfood deployment contract ## Links - [BUZZ-17: Publish the MVP-compatible gateway chart](https://linear.app/squareup/issue/BUZZ-17/publish-the-mvp-compatible-gateway-chart) - [BUZZ-26: Add Datadog-compatible push-gateway metrics and correct source drift](https://linear.app/squareup/issue/BUZZ-26/add-datadog-compatible-push-gateway-metrics-and-correct-source-drift) --------- Signed-off-by: Tom Brow <tomb@block.xyz> Co-authored-by: Codex <noreply@openai.com>
31 lines
1.0 KiB
YAML
31 lines
1.0 KiB
YAML
# Render-only fixture proving Datadog Autodiscovery can scrape the private
|
|
# metrics listener without installing prometheus-operator CRDs. Deployment
|
|
# repositories must replace these illustrative selectors with their agent's
|
|
# actual namespace and pod labels.
|
|
podAnnotations:
|
|
ad.datadoghq.com/gateway.checks: |
|
|
{
|
|
"openmetrics": {
|
|
"init_config": {},
|
|
"instances": [
|
|
{
|
|
"openmetrics_endpoint": "http://%%host%%:8081/metrics",
|
|
"service": "buzz-push-gateway",
|
|
"namespace": "block.buzz_push_gateway",
|
|
"metrics": ["push_gateway_.*"],
|
|
"histogram_buckets_as_distributions": true,
|
|
"send_distribution_buckets": true,
|
|
"send_monotonic_counter": true,
|
|
"collect_counters_with_distributions": true
|
|
}
|
|
]
|
|
}
|
|
}
|
|
networkPolicy:
|
|
monitoring:
|
|
enabled: true
|
|
namespaceSelector:
|
|
kubernetes.io/metadata.name: datadog
|
|
podSelector:
|
|
app.kubernetes.io/name: datadog-agent
|