-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Wire up ChIP ingress client for TelemetryIngress #20063
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wire up ChIP ingress client for TelemetryIngress #20063
Conversation
e6e8551 to
753019d
Compare
| SendTimeout *commonconfig.Duration | ||
| UseBatchSend *bool | ||
| Endpoints []TelemetryIngressEndpoint `toml:",omitempty"` | ||
| ChipIngressEnabled *bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flag to enable OTI telemetry ingress via ChIP Ingress
| useBatchSend bool | ||
| MonitoringEndpointGenerator MonitoringEndpointGenerator | ||
|
|
||
| chipIngressClient chipingress.Client |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add reference to chip ingress client to be used for OTI telemetry ingress
| globalLogger.Info("ChIP Ingress is enabled for telemetry") | ||
| chipIngressClient = beholder.GetClient().Chip | ||
| } | ||
| telemetryManager := telemetry.NewManager(cfg.TelemetryIngress(), csaKeystore, globalLogger, chipIngressClient) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wire up chip ingress client for OTI telemetry ingress Manager
- Add chipIngressClient field to telemetry Manager struct - Pass chipingress.Client to NewManager constructor - Add ChipIngressEnabled option to TelemetryIngress config
3fcc3b7 to
6cd7428
Compare
|




What
Related PR's
Why
This is prep work for OTI Telemetry migration to ChIP ingress