InjectHeaders adds monitoring headers to the provided HTTP headers. These headers can be used to correlate requests across different services.
(ctx context.Context, headers http.Header)
| 182 | // InjectHeaders adds monitoring headers to the provided HTTP headers. |
| 183 | // These headers can be used to correlate requests across different services. |
| 184 | func (m *Monitoring) InjectHeaders(ctx context.Context, headers http.Header) { |
| 185 | for _, monitor := range m.monitors { |
| 186 | monitor.InjectHeaders(ctx, headers) |
| 187 | } |
| 188 | } |
nothing calls this directly
no test coverage detected