No description
  • Go 93.6%
  • HCL 3%
  • Dockerfile 2.1%
  • Makefile 1.3%
Find a file
Paras Gupta b78a38dc22
Updating github.com/docker/docker v24.0.9 to v25.0.6 (#198)
1. Updating github.com/docker/docker v24.0.9 to v25.0.6 to fix
[CVE-2024-41110](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-41110).
2. Went through this advisory to fix the issue
[GHSA-v23v-6jw2-98fq](https://github.com/advisories/GHSA-v23v-6jw2-98fq).
3. The fix was done as part of Jira requirements.

---------

Co-authored-by: Paras Gupta <parasgupta@Parass-MacBook-Pro.local>
2025-08-19 18:24:53 +05:30
.changelog Add changelog 2024-03-18 11:27:46 -04:00
.doc Create initial service boilerplate (#2) 2023-03-03 17:37:46 -06:00
.github [Compliance] - PR Template Changes Required 2025-07-01 06:36:41 +00:00
.release Add copywrite header to all files (#53) 2023-06-12 13:46:06 -05:00
cmd/consul-telemetry-collector Add copywrite header to all files (#53) 2023-06-12 13:46:06 -05:00
docs Remove install docs (#65) 2023-08-15 10:37:31 -04:00
internal [COMPLIANCE] Add Copyright and License Headers 2023-11-13 16:58:30 +00:00
receivers/envoyreceiver update: go mod dependencies 2025-03-28 12:22:09 +05:30
tests add: wait for server startup in integration test 2025-03-27 17:24:14 +05:30
version Packaging and release (#24) 2023-05-16 11:54:56 -05:00
.copywrite.hcl Add copywrite header to all files (#53) 2023-06-12 13:46:06 -05:00
.gitignore Add a doc on Consul Management Plane cluster deployments (#50) 2023-06-06 18:09:45 -04:00
.go-version Update dependencies 2024-03-18 11:24:19 -04:00
.golangci.yml replace: deprecated linter exportloopref with copyloopvar 2025-03-28 12:22:09 +05:30
CHANGELOG.md Create Changelog (#96) 2023-11-02 11:52:01 -05:00
CODEOWNERS Remove release-engineering as codeowners (#108) 2023-11-22 14:49:18 -05:00
CONTRIBUTING.md Add more linters (#25) 2023-05-15 10:11:48 -04:00
Dockerfile add license file 2024-05-24 12:12:13 -07:00
go.mod Updating github.com/docker/docker v24.0.9 to v25.0.6 (#198) 2025-08-19 18:24:53 +05:30
go.sum Updating github.com/docker/docker v24.0.9 to v25.0.6 (#198) 2025-08-19 18:24:53 +05:30
go.work update: go version to v1.23.0 2025-03-27 16:05:21 +05:30
go.work.sum Updating github.com/docker/docker v24.0.9 to v25.0.6 (#198) 2025-08-19 18:24:53 +05:30
LICENSE Create license file (#47) 2023-06-02 16:25:07 -05:00
Makefile update: golangci-lint to v1.62.0 2025-03-27 16:15:05 +05:30
README.md Fix README docs (#83) 2023-10-16 14:35:43 -04:00

Consul logo Consul Telemetry Collector

Consul Telemetry Collector is a lightweight OpenTelemetry Collector used to collect metrics from Envoy proxies and export them to HCP and other OTLP compliant metrics endpoints. The Envoy stats sink is encrypted and authorized by the Consul service mesh.

Installation

Documentation on deploying the Consul Telemetry Collector to a Kubernetes runtime are provided in the HCP documentation:

Configuration

HCP automatically configures these values for you when you link self-managed clusters using consul-k8s with the -cloud preset. For more information, refer to Consul telemetry collector in the documentation.

All configuration options available are listed below. Use the CLIENT_ID, CLIENT_SECRET, and RESOURCE_ID created for observability from HCP Consul Central to send metrics to HCP.

Configurations load in the following order of precedence:

1. command line opts if specified
2. env variables if specified
3. file configuration
Usage: consul-telemetry-collector agent [options]

        Starts the telemetry-collector and runs until an interrupt is received. The
        collector can forward all metrics to an otlphttp endpoint or to the Hashicorp
        cloud platform.

  -config-file-path=<string>
     Load configuration from a config file.

  -hcp-client-id=<string>
     HCP Service Principal Client ID Environment variable HCP_CLIENT_ID

  -hcp-client-secret=<string>
     HCP Service Principal Client Secret Environment variable
     HCP_CLIENT_SECRET

  -hcp-resource-id=<string>
     HCP Resource ID Environment variable HCP_RESOURCE_ID

  -http-collector-endpoint=<string>
     OTLP HTTP endpoint to forward telemetry to Environment variable
     CO_OTEL_HTTP_ENDPOINT

Development

Build

Binary

make dev

Docker Image

make docker

Test

Unit Tests

make unit-tests