Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrape FS metrics from one host disk mounted to the root #1569

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 8 additions & 0 deletions .chloggen/do-not-scrape-fs-metrics-from-snap-mount.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# 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: Scrape FS metrics from one host disk mounted to the root to avoid scraping errors since the collector likely doesn't have access to other mounts.
# One or more tracking issues related to the change
issues: [1569]
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,10 @@ data:
cpu: null
disk: null
filesystem:
exclude_mount_points:
match_type: regexp
include_mount_points:
match_type: strict
mount_points:
- /var/.*
- /
load: null
memory: null
network: 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: 62b12f9782be458e4d851b56b3736779d9fa819b31d602c2690a85e1e2651398
checksum/config: 599ae6240b728a0f8301552303b8efc55a0040caac39ecba1e04d4fe41f879ac
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,10 +258,10 @@ data:
cpu: null
disk: null
filesystem:
exclude_mount_points:
match_type: regexp
include_mount_points:
match_type: strict
mount_points:
- /var/.*
- /
load: null
memory: null
network: 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: 6b91121b6bca3137df4e27936265ce0db0896ac28a41c32b655bd82f566ca63b
checksum/config: f1de5c58c5e1dade0ae34291f7c2052ec977104cd591d80af085e46119c7a4c1
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,10 +140,10 @@ data:
cpu: null
disk: null
filesystem:
exclude_mount_points:
match_type: regexp
include_mount_points:
match_type: strict
mount_points:
- /var/.*
- /
load: null
memory: null
network: 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: 98e82d01663b276d8e9d39d0c067119a5e8faecdac14b95bed092414f1d26e4a
checksum/config: 879c032d48dac95fa58dae345063f3209037b6b8f1f2941bc3799ccfa343cb43
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ data:
cpu: null
disk: null
filesystem:
exclude_mount_points:
match_type: regexp
include_mount_points:
match_type: strict
mount_points:
- /var/.*
- /
load: null
memory: null
network: 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: c516877b22714b6549007864d7a67fbb8247f2e9c7b3f3103cb758e734b07fac
checksum/config: ea59bab11b6951542d0951611791b361ddad62449c19bb69ebb2d43ca14869e3
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,10 @@ data:
cpu: null
disk: null
filesystem:
exclude_mount_points:
match_type: regexp
include_mount_points:
match_type: strict
mount_points:
- /var/.*
- /
load: null
memory: null
network: 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: 6e673abe5511ec2032b2d3ae7db8f3753ed1fde726389c86bfdf44477423e8b6
checksum/config: cec7fb80a25b44aac4bbe1a98c3a7dbec489c2cf18f28d68a5f932c0f2879257
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 @@ -140,10 +140,10 @@ data:
cpu: null
disk: null
filesystem:
exclude_mount_points:
match_type: regexp
include_mount_points:
match_type: strict
mount_points:
- /var/.*
- /
load: null
memory: null
network: 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: 777574d73f3948712985d93f22b80f7fd878e5b96d08e33ca35a949b7c826943
checksum/config: f1c0ed384f3dcb0048464394fbcac49f7ade4ffe0a21cada1479371bced3c829
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ data:
cpu: null
disk: null
filesystem:
exclude_mount_points:
match_type: regexp
include_mount_points:
match_type: strict
mount_points:
- /var/.*
- /
load: null
memory: null
network: 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: 83e5487eaf9d38ed3e7b0e1794194e13e9999148ea9b243cb722b20c2e65f69e
checksum/config: f4e781a8e2b267c29c9b6a9be81e4fde6b75035af95c1152b9bfad173aeaeb1f
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ data:
cpu: null
disk: null
filesystem:
exclude_mount_points:
match_type: regexp
include_mount_points:
match_type: strict
mount_points:
- /var/.*
- /
load: null
memory: null
network: 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: bd7c6d887d5635760fdfce06ba65107fbebf3ce9b25eb718b654b1f7274d767a
checksum/config: b8939e7c87c9ee524461e8c0c56db1eafdcd0c3b5362100ec3e00befe8e0ea13
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,10 +140,10 @@ data:
cpu: null
disk: null
filesystem:
exclude_mount_points:
match_type: regexp
include_mount_points:
match_type: strict
mount_points:
- /var/.*
- /
load: null
memory: null
network: 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: 777574d73f3948712985d93f22b80f7fd878e5b96d08e33ca35a949b7c826943
checksum/config: f1c0ed384f3dcb0048464394fbcac49f7ade4ffe0a21cada1479371bced3c829
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
6 changes: 3 additions & 3 deletions examples/default/rendered_manifests/configmap-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@ data:
cpu: null
disk: null
filesystem:
exclude_mount_points:
match_type: regexp
include_mount_points:
match_type: strict
mount_points:
- /var/.*
- /
load: null
memory: null
network: 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: 777574d73f3948712985d93f22b80f7fd878e5b96d08e33ca35a949b7c826943
checksum/config: f1c0ed384f3dcb0048464394fbcac49f7ade4ffe0a21cada1479371bced3c829
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,10 +346,10 @@ data:
cpu: null
disk: null
filesystem:
exclude_mount_points:
match_type: regexp
include_mount_points:
match_type: strict
mount_points:
- /var/.*
- /
load: null
memory: null
network: 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: b004ddf898fc1caa94ef51614938704a33563cdd32c01bdb097a597162642cc3
checksum/config: fc4611b77f0e7c94d5d2bf90dd4ad3372d81b7681b661cf7f966819529078c3a
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,10 +140,10 @@ data:
cpu: null
disk: null
filesystem:
exclude_mount_points:
match_type: regexp
include_mount_points:
match_type: strict
mount_points:
- /var/.*
- /
load: null
memory: null
network: 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: 6304ccf9319530453afd837d241e5b5af1b36c4de40662d7b5bad40b004a258b
checksum/config: f4b4fec857ce1b372b6676a63ae2eb21da8f144dad8a15ad6c53f6621a60cc74
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ data:
cpu: null
disk: null
filesystem:
exclude_mount_points:
match_type: regexp
include_mount_points:
match_type: strict
mount_points:
- /var/.*
- /
load: null
memory: null
network: 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: dcc20675c31a093e01099e1db64434a6f6cccfa8c8d1949d3b2173673d5221ec
checksum/config: e0eb91e3ebf60872be16884972d437296c4fa5891c51f8b89929ebe4a480cfb9
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ data:
cpu: null
disk: null
filesystem:
exclude_mount_points:
match_type: regexp
include_mount_points:
match_type: strict
mount_points:
- /var/.*
- /
load: null
memory: null
network: 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: a8fe90475cc286359dd2944b3a3af5b5e2b6f776e987da995f421216e348a41e
checksum/config: 17091fcba0e1a850ef7d5bfcfa88a2b62141191519057e6651d97445365f9d72
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ data:
cpu: null
disk: null
filesystem:
exclude_mount_points:
match_type: regexp
include_mount_points:
match_type: strict
mount_points:
- /var/.*
- /
load: null
memory: null
network: 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: c3292448f4b1f0def03cfde9e2772349cb2a533c3a70a412e4cbbf5b1507b787
checksum/config: 0a98fced2980a4471c42c3066189d7e86e734bb6e32ae2a309a81ca4ff8315a2
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ data:
cpu: null
disk: null
filesystem:
exclude_mount_points:
match_type: regexp
include_mount_points:
match_type: strict
mount_points:
- /var/.*
- /
load: null
memory: null
network: 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: 56cf37f1b1eff2f7a9e128a839efab64ec48afc5ae1116006d670e079f8a71d4
checksum/config: ce387c3d2af973c37a6864db4703b3cebd5ccb8232eecbd27e5fb3cd5ec6f943
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,10 +140,10 @@ data:
cpu: null
disk: null
filesystem:
exclude_mount_points:
match_type: regexp
include_mount_points:
match_type: strict
mount_points:
- /var/.*
- /
load: null
memory: null
network: 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: 8e095feeacd3811fb1b231b8f0d86f4c782ca875aee425d6335535d2572c5bf4
checksum/config: 5db1e75be1fec098f07e913a95ce2deb6a67bf725e5bab9c55a57b29ddb0736c
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Loading
Loading