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

[GCP] Convert GCP GKE metricset from lightweight #3793

Merged
merged 2 commits into from
Sep 19, 2022
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
5 changes: 5 additions & 0 deletions packages/gcp/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "2.11.3"
changes:
- description: Move GKE lightweight module config into integration
type: enhancement
link: https://github.com/elastic/integrations/pull/3797
- version: "2.11.2"
changes:
- description: Move Firestore lightweight module config into integration
Expand Down
48 changes: 46 additions & 2 deletions packages/gcp/data_stream/gke/agent/stream/stream.yml.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
metricsets: ["gke"]
metricsets: ["metrics"]
period: {{period}}
project_id: {{project_id}}
{{#if credentials_file}}
Expand All @@ -13,4 +13,48 @@ region: {{region}}
{{#if zone}}
zone: {{zone}}
{{/if}}
exclude_labels: {{exclude_labels}}
exclude_labels: {{exclude_labels}}
metrics:
- service: gke
service_metric_prefix: kubernetes.io/
metric_types:
- "container/cpu/core_usage_time"
- "container/cpu/limit_cores"
- "container/cpu/limit_utilization"
- "container/cpu/request_cores"
- "container/cpu/request_utilization"
- "container/ephemeral_storage/limit_bytes"
- "container/ephemeral_storage/request_bytes"
- "container/ephemeral_storage/used_bytes"
- "container/memory/limit_bytes"
- "container/memory/limit_utilization"
- "container/memory/page_fault_count"
- "container/memory/request_bytes"
- "container/memory/request_utilization"
- "container/memory/used_bytes"
- "container/restart_count"
- "container/uptime"
- "node/cpu/allocatable_cores"
- "node/cpu/allocatable_utilization"
- "node/cpu/core_usage_time"
- "node/cpu/total_cores"
- "node/ephemeral_storage/allocatable_bytes"
- "node/ephemeral_storage/inodes_free"
- "node/ephemeral_storage/inodes_total"
- "node/ephemeral_storage/total_bytes"
- "node/ephemeral_storage/used_bytes"
- "node/memory/allocatable_bytes"
- "node/memory/allocatable_utilization"
- "node/memory/total_bytes"
- "node/memory/used_bytes"
- "node/network/received_bytes_count"
- "node/network/sent_bytes_count"
- "node/pid_limit"
- "node/pid_used"
- "node_daemon/cpu/core_usage_time"
- "node_daemon/memory/used_bytes"
- "pod/network/received_bytes_count"
- "pod/network/sent_bytes_count"
- "pod/volume/total_bytes"
- "pod/volume/used_bytes"
- "pod/volume/utilization"
2 changes: 1 addition & 1 deletion packages/gcp/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: gcp
title: Google Cloud Platform
version: "2.11.2"
version: "2.11.3"
release: ga
description: Collect logs from Google Cloud Platform with Elastic Agent.
type: integration
Expand Down