Skip to content

Commit

Permalink
Update hostmetrics receiver config to accommodate recent receiver upd…
Browse files Browse the repository at this point in the history
…ates (#1533)
  • Loading branch information
jvoravong authored Nov 14, 2024
1 parent 7ea0cab commit 0e08369
Show file tree
Hide file tree
Showing 60 changed files with 41 additions and 61 deletions.
12 changes: 12 additions & 0 deletions .chloggen/fix-hostmetrics-fs-bug.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: bug_fix
# The name of the component, or a single word describing the area of concern, (e.g. agent, clusterReceiver, gateway, operator, chart, other)
component: agent
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Fix bug where hostmetrics receiver was failing to scrape the filesystem
# One or more tracking issues related to the change
issues: [1533]
# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,6 @@ data:
endpoint: 0.0.0.0:8006
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: 5897f0d311d853e5dc4e3273b3a12b8f5edbdf37f43b805eb28fb56738076c09
checksum/config: 3af0da2e1171b1d2cb08b3604c7a3972f847f2f285ac22d2affea9226a806e98
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ data:
endpoint: 0.0.0.0:8006
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: 9ecf5749d19f89689f9be61d6d03dce579874778c292abfccc0a59dc89581276
checksum/config: 7bf4394b1568ba3e02d2613e396bff6dc7421918ad1cda4bd3406bdb3632fbba
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ data:
receivers:
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: 169396fbe55446a78afbaf7403cf031640025f8ee2a7819ff9e0b3f703c48416
checksum/config: 4e1a94226c9471e5a1d19e439287583328d266f6b5e47c20788a4ae7f182bf0e
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ data:
receivers:
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
2 changes: 1 addition & 1 deletion examples/add-sampler/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: a0c1d6d0759b86392d024cb2aea440560dad83b0fa783e0584cec1765124eb31
checksum/config: d5a1314c0ae21cc1bb687a15146059b4948cdb08906d29f1badea5ed39c75f1e
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@ data:
endpoint: 0.0.0.0:8006
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: 6af3e0019755b46997613f4f3ec602280859a8833d75b965625b2ef642e4a37d
checksum/config: 8b29365de01901b8e4f247dd680fe8f3e4bb648186f0dbba936de93761138e84
kubectl.kubernetes.io/default-container: otel-collector
sidecar.istio.io/inject: "false"
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ data:
receivers:
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: 66ea1893fbeae1f78151b2e2ba0fbf369bd9e96680c99d615421899e3f78267c
checksum/config: 19210a4d2b4256f84c6c2f9a0cac6d311ca065a706aa9bb58c2f895c43c1e08a
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ data:
receivers:
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: 9eb10f148d287a4b6622bfb22f79996543d3b9e2efcc6ae78b7188495516937e
checksum/config: dabda8534b04b9dd1758f91dd851fab6fae78959827d686da8dbc67d7e6e92a4
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ data:
receivers:
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: 66ddbfc62d4de0ce3b68d2c1872b16572f47f2f8080e7e386161df479f8065fd
checksum/config: 0ee722ec16b9d357e4a1a9f1e7b05382bcda448daaa18d14b659ba23d53d5b3b
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ data:
receivers:
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
2 changes: 1 addition & 1 deletion examples/crio-logging/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: 66ea1893fbeae1f78151b2e2ba0fbf369bd9e96680c99d615421899e3f78267c
checksum/config: 19210a4d2b4256f84c6c2f9a0cac6d311ca065a706aa9bb58c2f895c43c1e08a
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
1 change: 0 additions & 1 deletion examples/default/rendered_manifests/configmap-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ data:
receivers:
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
2 changes: 1 addition & 1 deletion examples/default/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: 66ea1893fbeae1f78151b2e2ba0fbf369bd9e96680c99d615421899e3f78267c
checksum/config: 19210a4d2b4256f84c6c2f9a0cac6d311ca065a706aa9bb58c2f895c43c1e08a
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,6 @@ data:
endpoint: 0.0.0.0:8006
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: 7a163a8ecc2a2b94d605aa6e4af537d38474cdd233736cfe1ce92f791f5ca14c
checksum/config: c8ad70bff177f2fb81edc095bc7d4d906060ddc9202a03b79351953395be1e55
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ data:
receivers:
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
2 changes: 1 addition & 1 deletion examples/discovery-mode/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: 7ac696c9d6557eb9a17c7b11855c3340bf4cca4fdb6f29f2e786b99111c5e3da
checksum/config: 3b215fb6a8fa42b7c3f269d37b0778183573fa022fd0c96d82b84dbf039195a4
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ data:
receivers:
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: 254237f10018e104f521f6a59fe4d3951ed7939a46e644c673cb8a6cc7bf1409
checksum/config: 468e54ac9269bf4538e6bf40c9b7d458d16af5a967a3d14cbfcf8e40b69c9463
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ data:
receivers:
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: 832dc5a9f658ea6202ccfd19ce4de6e6708d7e36cf9b4af45ba833525b7f8ed9
checksum/config: 33a14708a1c41953a4be3029e971877b294680a97ec67935d6df7d84c44b4c19
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ data:
receivers:
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: 1222388b773b45c22fba5ee123ee7886b73a36e3c98e43a7c6589edb128a623f
checksum/config: 1f18218ca098bf1fb8c8e2d4cdbbe31c46dbf11b7223961a523016efd9eda402
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ data:
receivers:
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: 5048a211b2f78811a5db0ab248406fad14df426e088451d829ccd33989dfe21f
checksum/config: 2ed0cd82f547d1901c1eac39e990a46741baf1507c8a8269bfb58b2bec2c1385
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ data:
receivers:
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: 54ca2d1b48b1b23d9bb00e90e40ce5b360e4d0568d5b83c13997c41f7df89265
checksum/config: 77c7d562dece76e9d7a8a707769731f2aff65e887997b8b6dc49b5f4f26cd350
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ data:
endpoint: 0.0.0.0:8006
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: 4452b183c15f42ef4e5a56c7e2d0386dc73fc445afe0b05b96e088fdbd1cdb48
checksum/config: 829cb89ab06f2d6d045f8b9093558b27f58bbbf223f996f40fdeee306061149b
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,6 @@ data:
endpoint: 0.0.0.0:8006
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: e113089c2457a0a2ffb5e0771b1154c813c14aa79a4f691355a4ad467f31bc74
checksum/config: defb294cd22608e2859d6510417bb83d22da57a52c6e0681578c3ea05eb85bae
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ data:
receivers:
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: ba9ab09a6f70830247a0b00b58c3c4f4236d0e9e87b053237fe1ea2f13d87bf7
checksum/config: b5d90ea2e6656e7ac0514fa34ebe48871e8ed5281caaa2daac2c2552aa9aab22
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ data:
endpoint: 0.0.0.0:8006
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: e71951905b0d4eca397efbb7464cc9c8b5f35ddc9fae5d961f7df5f8cdae2c79
checksum/config: 0ce1270c1dc365bbb262db4308f9f9907ea8ddc26d18251dddc9d880d56f44d9
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ data:
endpoint: 0.0.0.0:8006
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: c26bb8b0a6145187ac45fc03000e9cefc3b4e0249dd675ffc32f7df9e8b6c628
checksum/config: d9d9dea16ff798c2162933b0c724465ec71b515401a6c2edf8e574dfd27792f5
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ data:
endpoint: 0.0.0.0:8006
hostmetrics:
collection_interval: 10s
root_path: /hostfs
scrapers:
cpu: null
disk: null
Expand Down
Loading

0 comments on commit 0e08369

Please sign in to comment.