Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
2414df0
Remove prometheus and telegraf receiver
jagan2221 Feb 19, 2026
8276d1b
Update prometheus.md
jagan2221 Feb 23, 2026
e06279a
additional removals
jagan2221 Feb 23, 2026
1fa35e4
MMerge branch 'prometheus-remove' of https://github.com/SumoLogic/sum…
jagan2221 Feb 23, 2026
2db7880
Merge branch 'main' of https://github.com/SumoLogic/sumologic-kuberne…
jagan2221 Feb 23, 2026
3c9571c
Update prometheus.md
jagan2221 Feb 23, 2026
3248db7
Update kube-prometheus.md
jagan2221 Feb 23, 2026
d4106fd
Delete deploy/helm/sumologic/otel-values.yaml
jagan2221 Feb 23, 2026
3994139
re-add prom service monitor
jagan2221 Feb 23, 2026
4b339d8
Merge branch 'prometheus-remove' of https://github.com/SumoLogic/sumo…
jagan2221 Feb 23, 2026
e1e44c1
Update servicemonitors.yaml
jagan2221 Feb 23, 2026
c2dce1a
re-add servicemonitor watchers
jagan2221 Feb 23, 2026
f54d3a9
Create basic-sumo.output.yaml
jagan2221 Feb 23, 2026
2e8428d
Update additional_endpoints.output.yaml
jagan2221 Feb 23, 2026
823a78d
Update allow_histograms.output.yaml
jagan2221 Feb 23, 2026
61eef35
Update basic.output.yaml
jagan2221 Feb 23, 2026
c47e34f
Update custom_routing_connector.output.yaml
jagan2221 Feb 23, 2026
a8a3836
Update debug.output.yaml
jagan2221 Feb 23, 2026
cce6375
Update debug_with_sumologic_mock.output.yaml
jagan2221 Feb 23, 2026
6e26dee
Update debug_with_sumologic_mock_http.output.yaml
jagan2221 Feb 23, 2026
1f80da9
Update debug_with_sumologic_mock_http_routing_connector.output.yaml
jagan2221 Feb 23, 2026
c3136d2
Update filtered_app_metrics.output.yaml
jagan2221 Feb 23, 2026
56b820f
Update basic.output.yaml
jagan2221 Feb 23, 2026
46f47cb
.
jagan2221 Feb 23, 2026
fcd3ea7
Merge branch 'prometheus-remove' of https://github.com/SumoLogic/sumo…
jagan2221 Feb 23, 2026
46b6307
Update custom.output.yaml
jagan2221 Feb 23, 2026
5bc3f0e
Update pvcpolicyenabled.output.yaml
jagan2221 Feb 23, 2026
339788a
Update basic.output.yaml
jagan2221 Feb 23, 2026
492d716
Create basic.input.yaml
jagan2221 Feb 24, 2026
abe3520
Create basic.output.yaml
jagan2221 Feb 24, 2026
a8afaa1
Create custom.input.yaml
jagan2221 Feb 24, 2026
744c451
Create custom.output.yaml
jagan2221 Feb 24, 2026
a3386e0
Update metrics_test.go
jagan2221 Feb 24, 2026
7e01646
Update utils.go
jagan2221 Feb 24, 2026
72787bf
remove prometheus IT's
jagan2221 Feb 24, 2026
59351f2
prettier fix
jagan2221 Feb 24, 2026
c4d9861
remove prom remote write tests
jagan2221 Feb 24, 2026
1951d64
Create 4081.changed.text
jagan2221 Feb 24, 2026
8e85043
Update docs/kube-prometheus.md
jagan2221 Feb 25, 2026
fad6d6f
Update docs/prometheus.md
jagan2221 Feb 25, 2026
d3ed88e
Update values.yaml
jagan2221 Feb 25, 2026
aed6843
md fix
jagan2221 Feb 25, 2026
c393b38
ci fix
jagan2221 Feb 25, 2026
e0bd16b
ci fix
jagan2221 Feb 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions deploy/helm/sumologic/conf/metrics/otelcol/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,6 @@ processors:
{{ end -}}

receivers:
## Configuration for Telegraf Receiver
telegraf:
agent_config: |
[agent]
interval = "30s"
flush_interval = "30s"
omit_hostname = true
[[inputs.http_listener_v2]]
# wait longer than prometheus
read_timeout = "30s"
write_timeout = "30s"
service_address = ":9888"
data_format = "prometheusremotewrite"
paths = [
{{ include "metric.endpoints" . | indent 10 }}
]
otlp:
protocols:
http:
Expand Down
1 change: 0 additions & 1 deletion deploy/helm/sumologic/conf/metrics/otelcol/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,4 @@ processors:
{{- end }}
- batch
receivers:
- telegraf
- otlp
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
upstream remote_prometheus {
server {{ template "sumologic.metadata.name.metrics.service" . }}:9888;
}

upstream remote_otel {
server {{ template "sumologic.metadata.name.metrics.service" . }}:4318;
}

server {
listen {{ .Values.sumologic.metrics.remoteWriteProxy.config.port }} default_server;
{{- if not .Values.sumologic.metrics.remoteWriteProxy.config.enableAccessLogs }}
access_log off;
{{- end }}
location / {
client_body_buffer_size {{ .Values.sumologic.metrics.remoteWriteProxy.config.clientBodyBufferSize }};
proxy_pass http://remote_prometheus;
}
}

server {
listen 4318 default_server;
{{- if not .Values.sumologic.metrics.remoteWriteProxy.config.enableAccessLogs }}
Expand Down
22 changes: 0 additions & 22 deletions deploy/helm/sumologic/templates/_helpers/_metrics.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -27,28 +27,6 @@ Example Usage:
{{ $enabled }}
{{- end -}}

{{/*
Generate list of remoteWrite endpoints for telegraf configuration

'{{ include "metric.endpoints" . }}'
*/}}
{{- define "metric.endpoints" -}}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

metric.endpoints are used in telegraf receiver in metadata metrics layer , we have removed telegraf receiver, so removing this as well.

{{- $endpoints := list -}}
{{- $kps := get .Values "kube-prometheus-stack" -}}
{{- range $remoteWrite := $kps.prometheus.prometheusSpec.remoteWrite }}
{{- $endpoints = append $endpoints ($remoteWrite.url | trimPrefix "http://$(METADATA_METRICS_SVC).$(NAMESPACE):9888" | quote) -}}
{{- end }}
{{- range $remoteWrite := $kps.prometheus.prometheusSpec.additionalRemoteWrite }}
{{- $endpoints = append $endpoints ($remoteWrite.url | trimPrefix "http://$(METADATA_METRICS_SVC).$(NAMESPACE):9888" | quote) -}}
{{- end -}}
{{- range $endpoint := .Values.metadata.metrics.config.additionalEndpoints }}
{{- $endpoints = append $endpoints ($endpoint | quote) -}}
{{- end -}}
{{- $endpoints := uniq $endpoints -}}
{{- $endpoints := sortAlpha $endpoints -}}
{{ $endpoints | join ",\n" }}
{{- end -}}

{{/*
Check if remote write proxy is enabled.
Example Usage:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ spec:
- name: otlphttp
port: 4318
protocol: TCP
- name: prom-write
port: 9888
targetPort: 9888
protocol: TCP
- name: metrics
port: 24231
targetPort: 24231
Expand Down
4 changes: 0 additions & 4 deletions deploy/helm/sumologic/templates/metrics/common/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ spec:
- name: otlphttp
port: 4318
protocol: TCP
- name: prom-write
port: 9888
targetPort: 9888
protocol: TCP
- name: otelcol-metrics
port: 8888
targetPort: 8888
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,6 @@ spec:
- name: otlphttp
containerPort: 4318
protocol: TCP
- name: prom-write
containerPort: 9888
protocol: TCP
- name: metrics
containerPort: 8888
protocol: TCP
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ metadata:
{{- include "sumologic.labels.common" . | nindent 4 }}
spec:
ports:
- name: prometheus
port: 9888
targetPort: {{ .Values.sumologic.metrics.remoteWriteProxy.config.port }}
- name: otel
port: 4318
targetPort: 4318
Expand Down
146 changes: 0 additions & 146 deletions deploy/helm/sumologic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -693,76 +693,6 @@ sumologic:
## Add custom annotations only to metrics sts pods
podAnnotations: {}

## Prometheus serviceMonitors related to Sumo Logic services
## They are applied only if kube-prometheus-stack is enabled
serviceMonitors:
- name: collection-sumologic-otelcol-logs
additionalLabels:
sumologic.com/app: otelcol-logs
endpoints:
- port: otelcol-metrics
selector:
matchLabels:
sumologic.com/app: otelcol-logs
sumologic.com/scrape: "true"
- name: collection-sumologic-otelcol-metrics
additionalLabels:
sumologic.com/app: otelcol-metrics
endpoints:
- port: otelcol-metrics
selector:
matchLabels:
sumologic.com/app: otelcol-metrics
sumologic.com/scrape: "true"
- name: collection-sumologic-metrics-collector
additionalLabels:
sumologic.com/app: otelcol-metrics
endpoints:
- port: monitoring
selector:
matchLabels:
sumologic.com/app: otelcol
sumologic.com/component: metrics
sumologic.com/scrape: "true"
- name: collection-sumologic-otelcol-logs-collector
additionalLabels:
sumologic.com/app: otelcol-logs-collector
endpoints:
- port: metrics
selector:
matchLabels:
sumologic.com/app: otelcol-logs-collector
sumologic.com/scrape: "true"
- name: collection-sumologic-otelcol-events
additionalLabels:
sumologic.com/app: otelcol-events
endpoints:
- port: otelcol-metrics
selector:
matchLabels:
sumologic.com/app: otelcol-events
sumologic.com/scrape: "true"
- name: collection-sumologic-otelcol-traces
additionalLabels:
sumologic.com/app: otelcol
endpoints:
- port: metrics
selector:
matchLabels:
sumologic.com/component: instrumentation
sumologic.com/scrape: "true"
- name: collection-sumologic-prometheus
endpoints:
- port: http-web
path: /metrics
metricRelabelings:
- action: keep
regex: prometheus_remote_storage_.*
sourceLabels: [__name__]
selector:
matchLabels:
app: kube-prometheus-stack-prometheus

## User-defined ServiceMonitors go here
additionalServiceMonitors: []

Expand Down Expand Up @@ -1061,36 +991,6 @@ kube-prometheus-stack:
grafana:
enabled: false
defaultDashboardsEnabled: false
prometheusOperator:
enabled: false
image:
repository: public.ecr.aws/sumologic/prometheus-operator
## Labels to add to the operator pod
podLabels: {}
## Annotations to add to the operator pod
podAnnotations: {}
## Resource limits for prometheus operator
resources:
{}
# limits:
# cpu: 200m
# memory: 200Mi
# requests:
# cpu: 100m
# memory: 100Mi
## ServiceMonitor for the Prometheus operator
serviceMonitor:
selfMonitor: false
admissionWebhooks:
enabled: false
tls:
enabled: false
prometheusConfigReloader:
image:
repository: public.ecr.aws/sumologic/prometheus-config-reloader

thanosImage:
repository: public.ecr.aws/sumologic/thanos

## Resource limits for kube-state-metrics
kube-state-metrics:
Expand Down Expand Up @@ -1287,52 +1187,6 @@ kube-prometheus-stack:
## Enable WAL compression to reduce Prometheus memory consumption
walCompression: true

## prometheus scrape config
## rel: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config
additionalScrapeConfigs:
## scraping metrics basing on annotations:
## - prometheus.io/scrape: true - to scrape metrics from the pod
## - prometheus.io/path: /metrics - path which the metric should be scrape from
## - prometheus.io/port: 9113 - port which the metric should be scrape from
## rel: https://github.com/prometheus-operator/kube-prometheus/pull/16#issuecomment-424318647
- job_name: "pod-annotations"
kubernetes_sd_configs:
- role: pod
relabel_configs:
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
action: keep
regex: true
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path]
action: replace
target_label: __metrics_path__
regex: (.+)
- source_labels: [__address__, __meta_kubernetes_pod_annotation_prometheus_io_port]
action: replace
regex: ([^:]+)(?::\d+)?;(\d+)
replacement: $1:$2
target_label: __address__
- source_labels: [__metrics_path__]
separator: ;
regex: (.*)
target_label: endpoint
replacement: $1
action: replace
- source_labels: [__meta_kubernetes_namespace]
action: replace
target_label: namespace
- action: labelmap
regex: __meta_kubernetes_pod_label_(.+)
- source_labels: [__meta_kubernetes_pod_name]
separator: ;
regex: (.*)
target_label: pod
replacement: $1
action: replace
remoteWrite:
## infrastructure metrics
- url: http://$(METADATA_METRICS_SVC).$(NAMESPACE):9888/prometheus.metrics
remoteTimeout: 5s

serviceMonitor:
selfMonitor: false

Expand Down
2 changes: 0 additions & 2 deletions examples/kube_prometheus_stack/values.yaml

This file was deleted.

Loading
Loading