Skip to content

Commit

Permalink
feat: reduce scrape interval to 2minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Oct 19, 2023
1 parent 6d2ceec commit 9340b12
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion chart/collectors/k8s-cluster.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
receivers:
k8s_cluster:
collection_interval: 60s
collection_interval: 120s
node_conditions_to_report:
- Ready
- MemoryPressure
Expand Down
2 changes: 1 addition & 1 deletion chart/collectors/kubelet-stats-node-ip.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
receivers:
kubeletstats:
collection_interval: 60s
collection_interval: 120s
auth_type: "serviceAccount"
endpoint: "https://${env:NODE_IP}:10250"
insecure_skip_verify: true
Expand Down
2 changes: 1 addition & 1 deletion chart/collectors/kubelet-stats-node-name.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
receivers:
kubeletstats:
collection_interval: 60s
collection_interval: 120s
auth_type: "serviceAccount"
endpoint: "https://${env:KUBE_NODE_NAME}.nodes.vcluster.com/api/v1/nodes/${env:KUBE_NODE_NAME}/proxy"
insecure_skip_verify: true
Expand Down
4 changes: 2 additions & 2 deletions chart/collectors/ta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ receivers:
config:
scrape_configs:
- job_name: 'otel-collector'
scrape_interval: 60s
scrape_interval: 120s
static_configs:
- targets: [ '0.0.0.0:8888' ]
target_allocator:
endpoint: "http://${env:TA_ENDPOINT}"
interval: 60s
interval: 120s
collector_id: "${POD_NAME}"
processors:
batch:
Expand Down

0 comments on commit 9340b12

Please sign in to comment.