OpenTelemetry Bot d680729c09 [chore] Prepare release 0.90.0 (#29543) | hai 1 ano | |
---|---|---|
.. | ||
internal | hai 1 ano | |
testdata | %!s(int64=2) %!d(string=hai) anos | |
Makefile | %!s(int64=4) %!d(string=hai) anos | |
README.md | hai 1 ano | |
config.go | hai 1 ano | |
config_test.go | hai 1 ano | |
doc.go | hai 1 ano | |
factory.go | hai 1 ano | |
factory_test.go | hai 1 ano | |
go.mod | hai 1 ano | |
go.sum | hai 1 ano | |
metadata.yaml | hai 1 ano | |
receiver.go | hai 1 ano | |
receiver_test.go | hai 1 ano | |
wavefront_parser.go | hai 1 ano | |
wavefront_parser_test.go | hai 1 ano |
Status | |
---|---|
Stability | beta: metrics |
Distributions | contrib, splunk, sumo |
Issues | |
Code Owners | @samiura |
The Wavefront receiver accepts metrics and depends on carbonreceiver proto and transport, It's very similar to Carbon: it is TCP based in which each received text line represents a single metric data point. They differ on the format of their textual representation. The Wavefront receiver leverages the Carbon receiver code by implementing a dedicated parser for its format.
The receiver receives the string with Wavefront metric data, and transforms it to the collector metric format. See https://docs.wavefront.com/wavefront_data_format.html#metrics-data-format-syntax. Each line received represents a Wavefront metric in the following format:
> :information_source: The `wavefront` receiver is based on Carbon and binds to the
same port by default. This means the `carbon` and `wavefront` receivers
cannot both be enabled with their respective default configurations. To
support running both receivers in parallel, change the `endpoint` port on one
of the receivers.
## Configuration
The following settings are required:
- `endpoint` (default = `0.0.0.0:2003`): Address and port that the
receiver should bind to.
The following setting are optional:
- `extract_collectd_tags` (default = `false`): Instructs the Wavefront
receiver to attempt to extract tags in the CollectD format from the
metric name.
- `tcp_idle_timeout` (default = `30s`): The maximum duration that a tcp
connection will idle wait for new data.
Example:
yaml receivers: wavefront: wavefront/allsettings:
endpoint: localhost:8080
tcp_idle_timeout: 5s
extract_collectd_tags: true
```
The full list of settings exposed for this receiver are documented here with detailed sample configurations here.