(ctx context.Context, id uuid.UUID)
| 2643 | } |
| 2644 | |
| 2645 | func (m queryMetricsStore) GetTailnetPeers(ctx context.Context, id uuid.UUID) ([]database.TailnetPeer, error) { |
| 2646 | start := time.Now() |
| 2647 | r0, r1 := m.s.GetTailnetPeers(ctx, id) |
| 2648 | m.queryLatencies.WithLabelValues("GetTailnetPeers").Observe(time.Since(start).Seconds()) |
| 2649 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "GetTailnetPeers").Inc() |
| 2650 | return r0, r1 |
| 2651 | } |
| 2652 | |
| 2653 | func (m queryMetricsStore) GetTailnetTunnelPeerBindingsBatch(ctx context.Context, ids []uuid.UUID) ([]database.GetTailnetTunnelPeerBindingsBatchRow, error) { |
| 2654 | start := time.Now() |
nothing calls this directly
no test coverage detected