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

Add telegraf scenarios to dev-internal #493

Merged
merged 1 commit into from
Dec 12, 2023
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
22 changes: 22 additions & 0 deletions operator/dev-internal/deploy/scenarios/wavefront-full-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -238,3 +238,25 @@ stringData:
CONTROL_PLANE_ETCD_SERVER_CERTIFICATE
server_key: |
CONTROL_PLANE_ETCD_SERVER_KEY
---
# See docs/collector/metrics.md#telegraf-source for more details
apiVersion: v1
kind: Secret
metadata:
name: memcached-config
namespace: observability-system
annotations:
wavefront.com/discovery-config: 'true'
stringData:
collector.yaml: |
# specify a list of discovery rules (plugins)
plugins:
# memcached
- name: memcached
type: telegraf/memcached
selectors:
images:
- 'docker.io/bitnami/memcached:*'
port: 11211
conf: |
servers = ["memcached-release.collector-targets.svc.cluster.local:11211"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Need to change YOUR_CLUSTER_NAME and YOUR_WAVEFRONT_URL accordingly
# See docs/collector/metrics.md#telegraf-source for more details
apiVersion: wavefront.com/v1alpha1
kind: Wavefront
metadata:
name: wavefront
namespace: observability-system
spec:
clusterName: YOUR_CLUSTER_NAME
wavefrontUrl: YOUR_WAVEFRONT_URL
dataCollection:
metrics:
enable: true
dataExport:
wavefrontProxy:
enable: true
---
apiVersion: v1
kind: Secret
metadata:
name: memcached-config
namespace: observability-system
annotations:
wavefront.com/discovery-config: 'true'
stringData:
collector.yaml: |
# specify a list of discovery rules (plugins)
plugins:
# memcached
- name: memcached
type: telegraf/memcached
selectors:
images:
- 'docker.io/bitnami/memcached:*'
port: 11211
conf: |
servers = ["memcached-release.collector-targets.svc.cluster.local:11211"]