(reg prometheus.Registerer)
| 82 | } |
| 83 | |
| 84 | func newParquetQueryableFallbackMetrics(reg prometheus.Registerer) *parquetQueryableFallbackMetrics { |
| 85 | return &parquetQueryableFallbackMetrics{ |
| 86 | blocksQueriedTotal: promauto.With(reg).NewCounterVec(prometheus.CounterOpts{ |
| 87 | Name: "cortex_parquet_queryable_blocks_queried_total", |
| 88 | Help: "Total number of blocks found to query.", |
| 89 | }, []string{"type"}), |
| 90 | operationsTotal: promauto.With(reg).NewCounterVec(prometheus.CounterOpts{ |
| 91 | Name: "cortex_parquet_queryable_operations_total", |
| 92 | Help: "Total number of Operations.", |
| 93 | }, []string{"type", "method"}), |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | type parquetQueryableWithFallback struct { |
| 98 | services.Service |
no outgoing calls