Skip to content

Commit

Permalink
Revert "Update kubelet metrics collection" (#529)
Browse files Browse the repository at this point in the history
Reverts #521

## Summary

- **New Features**
- Introduced new configuration options for logs collection, host
metrics, and Kubernetes attributes.
- Enhanced management of service pipelines for logs, metrics, and
traces.
- Added detailed configurations for TLS secrets and refined metrics
collection settings.
- Expanded resource detection and deployment environment configurations.

- **Bug Fixes**
- Resolved ambiguity in the `clusterName` field within the
configuration.

- **Documentation**
- Updated `values.yaml` to improve clarity and usability of the
configuration settings.

- **Chores**
- Incremented version of the `k8s-infra` Helm chart from `0.11.15` to
`0.11.16`.
  • Loading branch information
srikanthccv authored Oct 14, 2024
1 parent 26e6603 commit 8ee3cab
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 29 deletions.
2 changes: 1 addition & 1 deletion charts/k8s-infra/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: k8s-infra
description: Helm chart for collecting metrics and logs in K8s
type: application
version: 0.11.15
version: 0.11.16
appVersion: "0.109.0"
home: https://signoz.io
icon: https://signoz.io/img/SigNozLogo-orange.svg
Expand Down
3 changes: 0 additions & 3 deletions charts/k8s-infra/templates/_config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,6 @@ receivers:
collection_interval: {{ .Values.presets.kubeletMetrics.collectionInterval }}
auth_type: {{ .Values.presets.kubeletMetrics.authType }}
endpoint: {{ .Values.presets.kubeletMetrics.endpoint }}
node: {{ .Values.presets.kubeletMetrics.node }}
k8s_api_config:
{{- toYaml .Values.presets.kubeletMetrics.k8sApiConfig | nindent 8 }}
insecure_skip_verify: {{ default true .Values.presets.kubeletMetrics.insecureSkipVerify }}
extra_metadata_labels:
{{ toYaml .Values.presets.kubeletMetrics.extraMetadataLabels | nindent 6 }}
Expand Down
25 changes: 0 additions & 25 deletions charts/k8s-infra/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,6 @@ presets:
collectionInterval: 30s
authType: serviceAccount
endpoint: ${K8S_HOST_IP}:10250
node: ${env:K8S_NODE_NAME}
k8sApiConfig:
auth_type: serviceAccount
insecureSkipVerify: true
extraMetadataLabels:
- container.id
Expand All @@ -216,36 +213,14 @@ presets:
- node
- volume
metrics:
container.uptime:
enabled: true
k8s.container.cpu.node.utilization:
enabled: true
k8s.container.cpu_limit_utilization:
enabled: true
k8s.container.cpu_request_utilization:
enabled: true
k8s.container.memory.node.utilization:
enabled: true
k8s.container.memory_limit_utilization:
enabled: true
k8s.container.memory_request_utilization:
enabled: true
k8s.pod.uptime:
enabled: true
k8s.pod.cpu.node.utilization:
enabled: true
k8s.pod.cpu_limit_utilization:
enabled: true
k8s.pod.cpu_request_utilization:
enabled: true
k8s.pod.memory.node.utilization:
enabled: true
k8s.pod.memory_limit_utilization:
enabled: true
k8s.pod.memory_request_utilization:
enabled: true
k8s.node.uptime:
enabled: true
kubernetesAttributes:
enabled: true
# -- Whether to detect the IP address of agents and add it as an attribute to all telemetry resources.
Expand Down

0 comments on commit 8ee3cab

Please sign in to comment.