Skip to content

route_response_latency_ms histogram inbound metrics no longer exposed #10521

@alpeb

Description

@alpeb

I verified this started to happen on edge-23.3.1 (proxy v2.191.2).

Repro

# install the booksapp injected
$ kubectl create ns booksapp && \
  linkerd inject https://run.linkerd.io/booksapp.yml \
  | kubectl -n booksapp apply -f -

# install the webapp ServiceProfile
$ curl --proto '=https' --tlsv1.2 -sSfL https://run.linkerd.io/booksapp/webapp.swagger \
  | linkerd -n booksapp profile --open-api - webapp \
  | kubectl -n booksapp apply -f -

# viz routes is empty (this also affects the Routes Metrics tab in the dashboard)
$ linkerd viz -n booksapp routes deploy/webapp
ROUTE                       SERVICE   SUCCESS   RPS   LATENCY_P50   LATENCY_P95   LATENCY_P99
GET /                        webapp         -     -             -             -             -
GET /authors/{id}            webapp         -     -             -             -             -
GET /books/{id}              webapp         -     -             -             -             -
POST /authors                webapp         -     -             -             -             -
POST /authors/{id}/delete    webapp         -     -             -             -             -
POST /authors/{id}/edit      webapp         -     -             -             -             -
POST /books                  webapp         -     -             -             -             -
POST /books/{id}/delete      webapp         -     -             -             -             -
POST /books/{id}/edit        webapp         -     -             -             -             -
[DEFAULT]                    webapp         -     -             -             -             -

# the metric only has entries for the outbound label
$ linkerd diagnostics proxy-metrics -n booksapp deploy/webapp | grep route_response_latency_ms_bucket
route_response_latency_ms_bucket{direction="outbound",dst="books.booksapp.svc.cluster.local:7002",status_code="200",le="1"} 263
route_response_latency_ms_bucket{direction="outbound",dst="books.booksapp.svc.cluster.local:7002",status_code="200",le="2"} 321
route_response_latency_ms_bucket{direction="outbound",dst="books.booksapp.svc.cluster.local:7002",status_code="200",le="3"} 326
route_response_latency_ms_bucket{direction="outbound",dst="books.booksapp.svc.cluster.local:7002",status_code="200",le="4"} 326
--snip--

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions