-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename worker to exporter, add more words to doc.go
- Loading branch information
Showing
5 changed files
with
42 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,27 @@ | ||
// Package telemetry is for pushing Envoy metrics to HCP. | ||
// Package telemetry is for scraping and sending Envoy metrics to HCP in OTLP format. | ||
// | ||
// This exists to let customers send mesh telemetry to HCP without having to deploy | ||
// a dedicated telemetry collector. Configuration for the collection, filtering, and exporting | ||
// of Envoy metrics is managed in the hcp.v1.TelemetryState resource in Consul. | ||
// | ||
// ┌───────────────────┐ | ||
// │ │ | ||
// │ HCP telemetry API │ | ||
// │ │ | ||
// └───────────▲────--─┘ | ||
// │POST /v1/metrics | ||
// ┌──────────┐WatchList┌────--─────┴─----─┐ | ||
// │ │◄────────┤ │ | ||
// │ consul │ │ consul-dataplane │ | ||
// │ ├────────►│ │ | ||
// └──────────┘ └─────────────┬────┘ | ||
// hcp.v1.TelemetryState │GET /stats/prometheus | ||
// ┌─────────────▼────┐ | ||
// │ │ | ||
// │ envoy admin │ | ||
// │ │ | ||
// └──────────────────┘ | ||
// | ||
// A lot of the package is concerned with converting prometheus-format metrics into their | ||
// OTLP equivalent. | ||
package telemetry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters