Skip to content

Commit

Permalink
feat: remove copy for prometheus metrics (vmware#391)
Browse files Browse the repository at this point in the history
Remove copy for match in prometheus metrics

Signed-off-by: jcriadomarco <[email protected]>
  • Loading branch information
javiercri authored and lynn-e committed Jun 27, 2023
1 parent eb956b7 commit 17aca4a
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions config-reloader/templates/prometheus.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,4 @@
</labels>
</metric>
</filter>

<match **>
@type copy

<store>
@type prometheus
<metric>
name fluentd_output_status_num_records_total
type counter
desc The total number of outgoing records
<labels>
host ${hostname}
input_namespace $.kubernetes.namespace_name
input_pod $.kubernetes.pod_name
input_container $.kubernetes.container_name
</labels>
</metric>
</store>
</match>
{{- end -}}

0 comments on commit 17aca4a

Please sign in to comment.