Wavefront
Introduction
The OpenCensus Service allows one to export traces to Wavefront.
Configuration
Wavefront exporter supports sending data using Direct Ingestion (direct_ingestion
) or via Wavefront Proxy (proxy
).
In the Service’s YAML configuration file, under section “exporters” and sub-section “wavefront”, please configure these fields.
Format
exporters:
wavefront:
enable_traces: true|false
# One of "proxy" or "direct_ingestion" is required
proxy:
Host: "<Proxy_IP_or_FQDN>"
MetricsPort: wf_metrics_port # number
TracingPort: wf_trace_port # number
DistributionPort: wf_distribution_port # number
direct_ingestion:
Server: "<wavefront_url>"
Token: "<wavefront_token>"
# The following are optional
override_source: "<source_name>"
application_name: "<app_name>"
service_name: "<service_name>"
custom_tags:
- "<key1>" : "<val1>"
- "<key2>" : "<val2>"
# ...
max_queue_size: number
verbose_logging: true|false
Proxy Example
exporters:
wavefront:
proxy:
Host: "localhost"
TracingPort: 30000
enable_traces: true
Direct Ingestion Example
exporters:
wavefront:
direct_ingestion:
Server: "https://<MYINSTANCE>.wavefront.com"
Token: "MY_WAVEFRONT_TOKEN_HERE"
enable_traces: true
References
Resource | URL |
---|---|
Wavefront Homepage | https://www.wavefront.com |
OpenCensus Go Exporter | github.com/wavefrontHQ/opencensus-exporter |
Wavefront Go SDK | github.com/wavefrontHQ/wavefront-sdk-go |