-
Notifications
You must be signed in to change notification settings - Fork 11
/
couchbase-config.yml.k8s_sample
32 lines (32 loc) · 1.83 KB
/
couchbase-config.yml.k8s_sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
couchbase-config.yml: |
---
# Run auto discovery to find pods with label "app=couchbase"
# https://docs.newrelic.com/docs/integrations/host-integrations/installation/container-auto-discovery
discovery:
command:
# Use the following optional arguments:
# --namespaces: Comma separated list of namespaces to discover pods on
# --tls: Use secure (TLS) connection
# --port: Port used to connect to the kubelet. Default is 10255
exec: /var/db/newrelic-infra/nri-discovery-kubernetes
match:
label.app: couchbase
integrations:
- name: nri-couchbase
env:
# Use the discovered IP as the host address
HOSTNAME: ${discovery.ip}
PORT: <The port used to connect to the Couchbase API (default 8091)>
QUERY_PORT: <The port used to connect to the N1QL service (default 8093)>
USERNAME: <The username used to connect to the Couchbase API>
PASSWORD: <The password used to connect to the Couchbase API>
USE_SSL: <true or false. Signals whether to use SSL or not. Certificate bundle must be supplied. (default false)>
CA_BUNDLE_DIR: <Alternative Certificate Authority bundle directory, required if use_ssl is true>
CA_BUNDLE_FILE: <Alternative Certificate Authority bundle file, required if use_ssl is true>
ENABLE_BUCKETS: <(Optional) true or false. If true, collects bucket resources (default true)>
ENABLE_BUCKET_STATS: <(Optional) true or false. If true, collects additional bucket statistics (default true)>
ENABLE_CLUSTER_AND_NODES: <(Optional) true or false. If true, collects cluster and node resources (default true)>
TIMEOUT: <(Optional) Timeout, in seconds, for an API call (default 30)>
labels:
env: kubernetes
role: couchbase