1package stub
2
3import (
4 "context"
5 "log/slog"
6 "time"
7)
8
9func HTTPClientObserveIgnore(ctx context.Context, log *slog.Logger, pkg, method string, statusCode int, err error, start time.Time) {
10}
11
12type Counter interface {
13 Inc()
14}
15
16type CounterIgnore struct{}
17
18func (CounterIgnore) Inc() {}
19
20type CounterVec interface {
21 IncLabels(labels ...string)
22}
23
24type CounterVecIgnore struct{}
25
26func (CounterVecIgnore) IncLabels(labels ...string) {}
27
28type Histogram interface {
29 Observe(float64)
30}
31
32type HistogramIgnore struct{}
33
34func (HistogramIgnore) Observe(float64) {}
35
36type HistogramVec interface {
37 ObserveLabels(v float64, labels ...string)
38}
39
40type HistogramVecIgnore struct{}
41
42func (HistogramVecIgnore) ObserveLabels(v float64, labels ...string) {}
43