Skip to content

Commit

Permalink
Regenerating golden files
Browse files Browse the repository at this point in the history
  • Loading branch information
rnishtala-sumo committed May 14, 2024
1 parent 661245d commit 99b58e2
Show file tree
Hide file tree
Showing 23 changed files with 44 additions and 9 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions deploy/helm/sumologic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ The following table lists the configurable parameters of the Sumo Logic chart an
| `otellogswindows.metrics.enabled` | Enable OpenTelemetry Logs Collector for Windows Nodes metrics | `true` |
| `otellogswindows.serviceLabels` | Add custom labels to OpenTelemetry Logs Collector for Windows Nodes Service | `{}` |
| `otellogswindows.additionalDaemonSets` | OpenTelemetry Logs Collector for Windows Nodes Daemonset per node customization options. See [Best Practices](https://help.sumologic.com/docs/send-data/kubernetes/best-practices/#setting-different-resources-on-different-nodes-for-logs-collector). | `{}` |
| `metadata.compression` | Compression for logs, metrics and events | `zstd` |
| `metadata.image.repository` | Image repository for otelcol docker container. | `` |
| `metadata.image.tag` | Image tag for otelcol docker container. | `` |
| `metadata.image.pullPolicy` | Image pullPolicy for otelcol docker container. | `IfNotPresent` |
Expand Down
8 changes: 0 additions & 8 deletions deploy/helm/sumologic/conf/logs/otelcol/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ exporters:
sumologic/containers:
endpoint: ${SUMO_ENDPOINT_DEFAULT_LOGS_SOURCE}
compression: {{ .Values.metadata.compression }}
json_logs:
add_timestamp: false
log_format: {{ include "logs.otelcol.container.exporter.format" . }}
sending_queue:
enabled: true
Expand All @@ -24,8 +22,6 @@ exporters:
sumologic/sumologic-mock-containers:
endpoint: {{ include "sumologic-mock.receiver-endpoint" . }}
compression: {{ .Values.metadata.compression }}
json_logs:
add_timestamp: false
log_format: {{ include "logs.otelcol.container.exporter.format" . }}
sending_queue:
enabled: true
Expand All @@ -42,8 +38,6 @@ exporters:
sumologic/systemd:
endpoint: ${SUMO_ENDPOINT_DEFAULT_LOGS_SOURCE}
compression: {{ .Values.metadata.compression }}
json_logs:
add_timestamp: false
log_format: json
sending_queue:
enabled: true
Expand All @@ -57,8 +51,6 @@ exporters:
sumologic/sumologic-mock-systemd:
endpoint: {{ include "sumologic-mock.receiver-endpoint" . }}
compression: {{ .Values.metadata.compression }}
json_logs:
add_timestamp: false
log_format: json
sending_queue:
enabled: true
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/sumologic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1555,7 +1555,7 @@ metadata:
size: 10Gi
## Add custom labels to all otelcol statefulset PVC (logs and metrics)
pvcLabels: {}

## Compression for logs, metrics and events:
compression: zstd

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ data:
exporters:
sumologic:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: ${SUMO_ENDPOINT_DEFAULT_OTLP_EVENTS_SOURCE}
log_format: otlp
sending_queue:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ data:
exporters:
sumologic:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: ${SUMO_ENDPOINT_DEFAULT_OTLP_EVENTS_SOURCE}
log_format: otlp
sending_queue:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ data:
verbosity: detailed
sumologic:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: ${SUMO_ENDPOINT_DEFAULT_OTLP_EVENTS_SOURCE}
log_format: otlp
sending_queue:
enabled: true
storage: file_storage
sumologic/sumologic-mock:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: http://RELEASE-NAME-sumologic-mock.sumologic.svc.cluster.local.:3000/receiver
log_format: otlp
sending_queue:
Expand Down
1 change: 1 addition & 0 deletions tests/helm/testdata/goldenfile/logs_otc/basic.output.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ data:
config.yaml: |
exporters:
otlphttp:
compression: zstd
disable_keep_alives: true
endpoint: http://${LOGS_METADATA_SVC}.${NAMESPACE}.svc.cluster.local.:4318
sending_queue:
Expand Down
1 change: 1 addition & 0 deletions tests/helm/testdata/goldenfile/logs_otc/debug.output.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ data:
debug:
verbosity: detailed
otlphttp:
compression: zstd
disable_keep_alives: true
endpoint: http://${LOGS_METADATA_SVC}.${NAMESPACE}.svc.cluster.local.:4318
sending_queue:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ data:
config.yaml: |
exporters:
otlphttp:
compression: zstd
disable_keep_alives: true
endpoint: http://${LOGS_METADATA_SVC}.${NAMESPACE}.svc.cluster.local.:4318
sending_queue:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ data:
config.yaml: |
exporters:
otlphttp:
compression: zstd
disable_keep_alives: true
endpoint: http://${LOGS_METADATA_SVC}.${NAMESPACE}.svc.cluster.local.:4318
sending_queue:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ data:
verbosity: detailed
sumologic:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: ${SUMO_ENDPOINT_DEFAULT_OTLP_LOGS_SOURCE}
log_format: otlp
sending_queue:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ data:
verbosity: detailed
sumologic:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: ${SUMO_ENDPOINT_DEFAULT_OTLP_LOGS_SOURCE}
log_format: otlp
sending_queue:
Expand All @@ -26,6 +27,7 @@ data:
storage: file_storage
sumologic/sumologic-mock:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: http://RELEASE-NAME-sumologic-mock.sumologic.svc.cluster.local.:3000/receiver
log_format: otlp
sending_queue:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ data:
debug:
verbosity: detailed
sumologic/containers:
compression: zstd
endpoint: ${SUMO_ENDPOINT_DEFAULT_LOGS_SOURCE}
log_format: json
sending_queue:
Expand All @@ -24,6 +25,7 @@ data:
queue_size: 10000
storage: file_storage
sumologic/sumologic-mock-containers:
compression: zstd
endpoint: http://RELEASE-NAME-sumologic-mock.sumologic.svc.cluster.local.:3000/receiver
log_format: json
sending_queue:
Expand All @@ -32,6 +34,7 @@ data:
queue_size: 10000
storage: file_storage
sumologic/sumologic-mock-systemd:
compression: zstd
endpoint: http://RELEASE-NAME-sumologic-mock.sumologic.svc.cluster.local.:3000/receiver
log_format: json
sending_queue:
Expand All @@ -40,6 +43,7 @@ data:
queue_size: 10000
storage: file_storage
sumologic/systemd:
compression: zstd
endpoint: ${SUMO_ENDPOINT_DEFAULT_LOGS_SOURCE}
log_format: json
sending_queue:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ data:
exporters:
sumologic:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: ${SUMO_ENDPOINT_DEFAULT_OTLP_LOGS_SOURCE}
log_format: otlp
sending_queue:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ data:
exporters:
sumologic:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: ${SUMO_ENDPOINT_DEFAULT_OTLP_LOGS_SOURCE}
log_format: otlp
sending_queue:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ data:
exporters:
sumologic/default:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
decompose_otlp_histograms: true
endpoint: ${SUMO_ENDPOINT_DEFAULT_OTLP_METRICS_SOURCE}
max_request_body_size: 16777216
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ data:
exporters:
sumologic/default:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
decompose_otlp_histograms: true
endpoint: ${SUMO_ENDPOINT_DEFAULT_OTLP_METRICS_SOURCE}
max_request_body_size: 16777216
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ data:
exporters:
sumologic/apiserver:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: ${SUMO_ENDPOINT_APISERVER_METRICS_SOURCE}
max_request_body_size: 16777216
metric_format: prometheus
Expand All @@ -26,6 +27,7 @@ data:
timeout: 30s
sumologic/control_plane:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: ${SUMO_ENDPOINT_CONTROL_PLANE_METRICS_SOURCE}
max_request_body_size: 16777216
metric_format: prometheus
Expand All @@ -37,6 +39,7 @@ data:
timeout: 30s
sumologic/controller:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: ${SUMO_ENDPOINT_CONTROLLER_METRICS_SOURCE}
max_request_body_size: 16777216
metric_format: prometheus
Expand All @@ -48,6 +51,7 @@ data:
timeout: 30s
sumologic/default:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
decompose_otlp_histograms: true
endpoint: ${SUMO_ENDPOINT_DEFAULT_METRICS_SOURCE}
max_request_body_size: 16777216
Expand All @@ -60,6 +64,7 @@ data:
timeout: 30s
sumologic/kubelet:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: ${SUMO_ENDPOINT_KUBELET_METRICS_SOURCE}
max_request_body_size: 16777216
metric_format: prometheus
Expand All @@ -71,6 +76,7 @@ data:
timeout: 30s
sumologic/node:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: ${SUMO_ENDPOINT_NODE_METRICS_SOURCE}
max_request_body_size: 16777216
metric_format: prometheus
Expand All @@ -82,6 +88,7 @@ data:
timeout: 30s
sumologic/scheduler:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: ${SUMO_ENDPOINT_SCHEDULER_METRICS_SOURCE}
max_request_body_size: 16777216
metric_format: prometheus
Expand All @@ -93,6 +100,7 @@ data:
timeout: 30s
sumologic/state:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: ${SUMO_ENDPOINT_STATE_METRICS_SOURCE}
max_request_body_size: 16777216
metric_format: prometheus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ data:
verbosity: detailed
sumologic/default:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
decompose_otlp_histograms: true
endpoint: ${SUMO_ENDPOINT_DEFAULT_OTLP_METRICS_SOURCE}
max_request_body_size: 16777216
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ data:
verbosity: detailed
sumologic/default:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
decompose_otlp_histograms: true
endpoint: ${SUMO_ENDPOINT_DEFAULT_OTLP_METRICS_SOURCE}
max_request_body_size: 16777216
Expand All @@ -29,6 +30,7 @@ data:
timeout: 30s
sumologic/sumologic-mock-default:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
decompose_otlp_histograms: true
endpoint: http://RELEASE-NAME-sumologic-mock.sumologic.svc.cluster.local.:3000/receiver
max_request_body_size: 16777216
Expand All @@ -41,6 +43,7 @@ data:
timeout: 30s
sumologic/sumologic-mock-http:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: http://RELEASE-NAME-sumologic-mock.sumologic.svc.cluster.local.:3000/receiver
max_request_body_size: 16777216
metric_format: prometheus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ data:
verbosity: detailed
sumologic/apiserver:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: ${SUMO_ENDPOINT_APISERVER_METRICS_SOURCE}
max_request_body_size: 16777216
metric_format: prometheus
Expand All @@ -28,6 +29,7 @@ data:
timeout: 30s
sumologic/control_plane:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: ${SUMO_ENDPOINT_CONTROL_PLANE_METRICS_SOURCE}
max_request_body_size: 16777216
metric_format: prometheus
Expand All @@ -39,6 +41,7 @@ data:
timeout: 30s
sumologic/controller:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: ${SUMO_ENDPOINT_CONTROLLER_METRICS_SOURCE}
max_request_body_size: 16777216
metric_format: prometheus
Expand All @@ -50,6 +53,7 @@ data:
timeout: 30s
sumologic/default:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
decompose_otlp_histograms: true
endpoint: ${SUMO_ENDPOINT_DEFAULT_METRICS_SOURCE}
max_request_body_size: 16777216
Expand All @@ -62,6 +66,7 @@ data:
timeout: 30s
sumologic/kubelet:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: ${SUMO_ENDPOINT_KUBELET_METRICS_SOURCE}
max_request_body_size: 16777216
metric_format: prometheus
Expand All @@ -73,6 +78,7 @@ data:
timeout: 30s
sumologic/node:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: ${SUMO_ENDPOINT_NODE_METRICS_SOURCE}
max_request_body_size: 16777216
metric_format: prometheus
Expand All @@ -84,6 +90,7 @@ data:
timeout: 30s
sumologic/scheduler:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: ${SUMO_ENDPOINT_SCHEDULER_METRICS_SOURCE}
max_request_body_size: 16777216
metric_format: prometheus
Expand All @@ -95,6 +102,7 @@ data:
timeout: 30s
sumologic/state:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: ${SUMO_ENDPOINT_STATE_METRICS_SOURCE}
max_request_body_size: 16777216
metric_format: prometheus
Expand All @@ -106,6 +114,7 @@ data:
timeout: 30s
sumologic/sumologic-mock-default:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
decompose_otlp_histograms: true
endpoint: http://RELEASE-NAME-sumologic-mock.sumologic.svc.cluster.local.:3000/receiver
max_request_body_size: 16777216
Expand All @@ -118,6 +127,7 @@ data:
timeout: 30s
sumologic/sumologic-mock-http:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
endpoint: http://RELEASE-NAME-sumologic-mock.sumologic.svc.cluster.local.:3000/receiver
max_request_body_size: 16777216
metric_format: prometheus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ data:
exporters:
sumologic/default:
client: k8s_%CURRENT_CHART_VERSION%
compression: zstd
decompose_otlp_histograms: true
endpoint: ${SUMO_ENDPOINT_DEFAULT_OTLP_METRICS_SOURCE}
max_request_body_size: 16777216
Expand Down

0 comments on commit 99b58e2

Please sign in to comment.