Skip to content

Commit

Permalink
docs(static_metrics source): Fix example configuration (#21636)
Browse files Browse the repository at this point in the history
* docs(static_metrics source): Fix example configuration

For heartbeat.

Closes: #21625

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>

* Add static_metrics source scope

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>

---------

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
  • Loading branch information
jszwedko authored Oct 28, 2024
1 parent 29d58c9 commit d90a95c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/semantic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ jobs:
redis source
socket source
splunk_hec source
static_metrics source
statsd source
stdin source
syslog source
Expand Down
3 changes: 2 additions & 1 deletion website/cue/reference/components/sources/static_metrics.cue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ components: sources: static_metrics: {
name: "heartbeat"
kind: "absolute"
value:
gauge: 1
gauge:
value: 1
tags:
env: "${ENV}"
},
Expand Down

0 comments on commit d90a95c

Please sign in to comment.