Skip to content

Commit

Permalink
[grafana-sampling] fix property case for enabling metrics gen (#3087)
Browse files Browse the repository at this point in the history
* [sampling] fix property case for enabling metrics gen n

Signed-off-by: Robbie Lankford <robert.lankford@grafana.com>

* bump version; run helm-docs

Signed-off-by: Robbie Lankford <robert.lankford@grafana.com>

---------

Signed-off-by: Robbie Lankford <robert.lankford@grafana.com>
  • Loading branch information
rlankfo committed Apr 17, 2024
1 parent fd6529c commit 2db1a25
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/grafana-sampling/Chart.yaml
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: grafana-sampling
description: A Helm chart for a layered OTLP tail sampling and metrics generation pipeline.
type: application
version: 0.1.0
version: 0.1.1
appVersion: "v0.40.2"
sources:
- https://github.com/grafana/agent
Expand Down
2 changes: 1 addition & 1 deletion charts/grafana-sampling/README.md
@@ -1,6 +1,6 @@
# grafana-sampling

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.40.2](https://img.shields.io/badge/AppVersion-v0.40.2-informational?style=flat-square)
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.40.2](https://img.shields.io/badge/AppVersion-v0.40.2-informational?style=flat-square)

A Helm chart for a layered OTLP tail sampling and metrics generation pipeline.

Expand Down
Expand Up @@ -12,7 +12,7 @@ otelcol.processor.batch "default" {
otelcol.processor.batch "default" {
// https://grafana.com/docs/agent/latest/flow/reference/components/otelcol.processor.batch/
output {
{{ if .Values.metricsGeneration.Enabled }}
{{ if .Values.metricsGeneration.enabled }}
metrics = [otelcol.exporter.prometheus.grafana_cloud_prometheus.input]
{{ end }}
traces = [otelcol.exporter.otlp.grafana_cloud_tempo.input]
Expand Down

0 comments on commit 2db1a25

Please sign in to comment.