| 20 | ) |
| 21 | |
| 22 | type icmpHandler struct { |
| 23 | icmp *prometheus.CounterVec |
| 24 | context *api.ContextOptions |
| 25 | AllowList filters.FilterFuncs |
| 26 | DenyList filters.FilterFuncs |
| 27 | } |
| 28 | |
| 29 | func (h *icmpHandler) Init(registry *prometheus.Registry, options *api.MetricConfig) error { |
| 30 | c, err := api.ParseContextOptions(options.ContextOptionConfigs) |
nothing calls this directly
no outgoing calls
no test coverage detected