Skip to content

Commit 0f26cfa

Browse files
committed
enclave/nitro/host/telemetry.go: add documentation link for host telemetry config mirroring
1 parent 834e911 commit 0f26cfa

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

enclave/nitro/host/telemetry.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ func closeWithContext(ctx context.Context, closeFn func() error) error {
6565
}
6666
}
6767

68+
// This mirrors LOOP's environment-loaded telemetry config
69+
// https://github.com/smartcontractkit/chainlink-common/blob/4033d02539771c90bd1c5a6d39929d030d469aec/pkg/loop/config.go#L458-L477
6870
func loadHostTelemetryConfig(getenv func(string) string) (hostTelemetryConfig, error) {
6971
cfg := hostTelemetryConfig{
7072
Endpoint: strings.TrimSpace(getenv(envTelemetryEndpoint)),

0 commit comments

Comments
 (0)