Skip to content

Commit 1d7e604

Browse files
fix: Bifurcating queries to avoid 20 query limit.
1 parent 3b40c6d commit 1d7e604

File tree

2 files changed

+52
-3
lines changed

2 files changed

+52
-3
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#apiVersion: apps/v1
2+
#kind: DaemonSet
3+
#metadata:
4+
# name: busybox-daemonset
5+
#spec:
6+
# selector:
7+
# matchLabels:
8+
# app: busybox
9+
# template:
10+
# metadata:
11+
# labels:
12+
# app: busybox
13+
# spec:
14+
# containers:
15+
# - name: busybox
16+
# image: busybox:latest
17+
# command: ["/bin/sh", "-c", "while true; do date; sleep 5; done"]
18+
# resources:
19+
# limits:
20+
# cpu: "100m"
21+
# memory: "64Mi"
22+
# requests:
23+
# cpu: "50m"
24+
# memory: "32Mi"
25+
#---
26+
apiVersion: apps/v1
27+
kind: DaemonSet
28+
metadata:
29+
name: busybox-daemonset2
30+
spec:
31+
selector:
32+
matchLabels:
33+
app: busybox
34+
template:
35+
metadata:
36+
labels:
37+
app: busybox
38+
spec:
39+
containers:
40+
- name: busybox
41+
image: busybox:latest
42+
command: ["/bin/sh", "-c", "while true; do date; sleep 5; done"]
43+
resources:
44+
limits:
45+
cpu: "75m"
46+
memory: "70Mi"
47+
requests:
48+
cpu: "50m"
49+
memory: "32Mi"

charts/nr-k8s-otel-collector/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
# Declare variables to be passed into your templates.
44

55
# -- Name of the Kubernetes cluster monitored. Mandatory. Can be configured also with `global.cluster`
6-
cluster: ""
6+
cluster: "toggle-metrics"
77
# -- This set this license key to use. Can be configured also with `global.licenseKey`
8-
licenseKey: ""
8+
licenseKey: "9a8106d3cc97e604f7f110074af6622aFFFFNRAL"
99

1010
kube-state-metrics:
1111
# kube-state-metrics.enabled -- Install the [`kube-state-metrics` chart](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-state-metrics) from the stable helm charts repository.
@@ -246,7 +246,7 @@ verboseLog:
246246

247247
# -- (bool) Send the metrics to the staging backend. Requires a valid staging license key. Can be configured also with `global.nrStaging`
248248
# @default -- `false`
249-
nrStaging:
249+
nrStaging: true
250250

251251
receivers:
252252
prometheus:

0 commit comments

Comments
 (0)