consul/agent/hcp/client
Ashvitha 0f48b7af5e
[HCP Telemetry] Move first TelemetryConfig Fetch into the TelemetryConfigProvider (#18318)
* Add Enabler interface to turn sink on/off

* Use h for hcpProviderImpl vars, fix PR feeback and fix errors

* Keep nil check in exporter and fix tests

* Clarify comment and fix function name

* Use disable instead of enable

* Fix errors nit in otlp_transform

* Add test for refreshInterval of updateConfig

* Add disabled field in MetricsConfig struct

* Fix PR feedback: improve comment and remove double colons

* Fix deps test which requires a maybe

* Update hcp-sdk-go to v0.61.0

* use disabled flag in telemetry_config.go

* Handle 4XX errors in telemetry_provider

* Fix deps test

* Check 4XX instead

* Run make go-mod-tidy
2023-08-30 13:25:26 -04:00
..
client.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
client_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
metrics_client.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
metrics_client_test.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
mock_Client.go
mock_CloudConfig.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
telemetry_config.go [HCP Telemetry] Move first TelemetryConfig Fetch into the TelemetryConfigProvider (#18318) 2023-08-30 13:25:26 -04:00
telemetry_config_test.go [HCP Telemetry] Move first TelemetryConfig Fetch into the TelemetryConfigProvider (#18318) 2023-08-30 13:25:26 -04:00