forked from signalfx/signalfx-istio-adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhandler.yaml
42 lines (42 loc) · 1.37 KB
/
handler.yaml
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
33
34
35
36
37
38
39
40
41
42
---
# Source: signalfx-istio-adapter/templates/handler.yaml
apiVersion: "config.istio.io/v1alpha2"
kind: handler
metadata:
name: signalfx
namespace: istio-system
labels:
app.kubernetes.io/name: signalfx-adapter
spec:
adapter: signalfx
connection:
address: "signalfx-adapter:8080"
params:
# This can also be set with the env var SIGNALFX_ACCESS_TOKEN on the
# adapter pod.
access_token: "MY_ACCESS_TOKEN"
ingest_url: "https://ingest.signalfx.com" # Fill in with base ingest URL or remove to use default
trace_endpoint_url: "" # Fill in with trace endpoint ingest URL to override ingest_url
datapoint_interval: 10s
enable_metrics: true
enable_tracing: true
metrics:
- name: requestcount.instance.istio-system
type: COUNTER
- name: requestduration.instance.istio-system
type: HISTOGRAM
- name: requestsize.instance.istio-system
type: COUNTER
- name: responsesize.instance.istio-system
type: COUNTER
- name: tcpbytesent.instance.istio-system
type: COUNTER
- name: tcpbytereceived.instance.istio-system
type: COUNTER
tracing:
buffer_size: 1000
localEndpointIpTagKey: source.ip
localEndpointNameTagKey: source.workload.name
remoteEndpointIpTagKey: destination.ip
remoteEndpointNameTagKey: destination.workload.name
swapLocalRemoteEndpoints: true