How to fix => Prometheus Operator + Linkerd: “data plane proxy metrics are present. Data plane metrics not found for xxx”

It seems that Prometheus cannot scrape Linkerd proxy data. When I performed a linkerd viz check of the proxies, I found the following:

linkerd-viz-data-plane
----------------------
√ data plane namespace exists
√ prometheus is authorized to scrape data plane pods

‼ data plane proxy metrics are present in Prometheus
    Data plane metrics not found for ...

I do not know how to debug and correct it. I’d appreciate your suggestions.

BACKGROUND:
Our cluster has linkerd2 deployed and injection to all pods in a set of namespaces is working. I have deployed Bitnami’s Grafana Operator, Kube Prometheus, and Thanos to our k8s cluster and they have not been added to Linkerd’s mesh. They are all working properly. Good.

My next step is to configure Prometheus to scrape Linkerd. When I deployed linkerd viz, I used the following command:

linkerd viz install --set prometheusUrl="http://prometheus-kube-prometheus-prometheus.monitoring.svc.cluster.local:9090",prometheus.enabled=false" 
    | kubectl apply -f -

Although I do not find any errors in the logs, Prometheus does not seem to be scraping data from Linkerd.

 linkerd viz stat deployments -n linkerd
NAME                     MESHED   SUCCESS   RPS   LATENCY_P50   LATENCY_P95   LATENCY_P99   TCP_CONN
linkerd-destination         1/1         -     -             -             -             -          -
linkerd-identity            1/1         -     -             -             -             -          -
linkerd-proxy-injector      1/1         -     -             -             -             -          -

When I performed a linkerd viz check of the proxies, I found an error, but do not know how to correct it.

linkerd viz check –proxy

    linkerd-viz
    -----------
    √ linkerd-viz Namespace exists
    √ can initialize the client
    √ linkerd-viz ClusterRoles exist
    √ linkerd-viz ClusterRoleBindings exist
    √ tap API server has valid cert
    √ tap API server cert is valid for at least 60 days
    √ tap API service is running
    √ linkerd-viz pods are injected
    √ viz extension pods are running
    √ viz extension proxies are healthy
    √ viz extension proxies are up-to-date
    √ viz extension proxies and cli versions match
    √ viz extension self-check
    
    linkerd-viz-data-plane
    ----------------------
    √ data plane namespace exists
    √ prometheus is authorized to scrape data plane pods

    ‼ data plane proxy metrics are present in Prometheus
        Data plane metrics not found for

emissary/emissary-ingress-545dfbfc5c-kngtb, abc/queue-service-6dbfd886c9-fhwps, linkerd-viz/metrics-api-7f577b5599-588kg,  linkerd/linkerd-identity-86c4d9488c-6zwr2, emissary/emissary-ingress-agent-5846fb5848-ckhvs, emissary/emissary-ingress-545dfbfc5c-wkszb, linkerd/linkerd-destination-68bb4d99c8-hnvbw, linkerd-viz/tap-87b5df489-hzz68,linkerd-viz/web-667b9f46b8-t85hf,  emissary/emissary-ingress-545dfbfc5c-zrqp6.
        see https://linkerd.io/2/checks/#l5d-data-plane-prom for hints

Finally, here is the scrapping configuration that I applied to Prometheus via its Helm installation. I copied this from Prometheus Query tool: Status->Configuration:

- job_name: linkerd
  honor_labels: true
  honor_timestamps: true
  track_timestamps_staleness: false
  params:
    match[]:
    - '{job="linkerd-proxy"}'
    - '{job="linkerd-controller"}'
  scrape_interval: 30s
  scrape_timeout: 10s
  scrape_protocols:
  - OpenMetricsText1.0.0
  - OpenMetricsText0.0.1
  - PrometheusText0.0.4
  metrics_path: /federate
  scheme: http
  enable_compression: true
  follow_redirects: true
  enable_http2: true
  http_headers: null
  relabel_configs:
  - source_labels: [__meta_kubernetes_pod_container_name]
    separator: ;
    regex: ^prometheus$
    replacement: $1
    action: keep
  kubernetes_sd_configs:
  - role: pod
    kubeconfig_file: ""
    follow_redirects: true
    enable_http2: true
    http_headers: null
    namespaces:
      own_namespace: false
      names:
      - linkerd-viz

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật