(ctx context.Context, kind string, p *push.Pusher)
| 315 | } |
| 316 | |
| 317 | func (c *observabilityFlags) pushOnce(ctx context.Context, kind string, p *push.Pusher) { |
| 318 | log(ctx).Debugw("pushing prometheus metrics", "kind", kind) |
| 319 | |
| 320 | if err := p.Push(); err != nil { |
| 321 | log(ctx).Debugw("error pushing prometheus metrics", "kind", kind, "err", err) |
| 322 | } |
| 323 | } |
no test coverage detected