Skip to content

cilium_agent_api_process_time_seconds metrics is missing #10338

@Weil0ng

Description

@Weil0ng

Bug report

General Information

  • Cilium version (run cilium version)
    Client: 1.7.90 79440e7c7 2020-01-21T11:24:41-08:00 go version go1.13.7 linux/amd64
    Daemon: 1.7.90 79440e7c7 2020-01-21T11:24:41-08:00 go version go1.13.7 linux/amd64

  • Kernel version (run uname -a)
    Linux k8s1 4.9.212-0409212-generic #202001300045 SMP Thu Jan 30 00:48:17 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

  • Orchestration system version in use (e.g. kubectl version, Mesos, ...)
    Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-11T18:14:22Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}
    Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-11T18:07:13Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}

How to reproduce the issue

  1. Fire up the vagrant dev image, K8S=1 NWORKERS=1 ./contrib/vagrant/start.sh
  2. ssh into any node
  3. cilium endpoint list
  4. cilium metrics list | grep cilium_agent

Expected: cilium_agent_api_process_time_seconds metrics shows up.
Seen: only cilium_agent_bootstrap_seconds are observed.

Possible cause: the following commit seems to have removed code that observes api_process_time_seconds

618f568#diff-f1aeb56bac38fbb3c66b18451198c4d3L63

Metadata

Metadata

Assignees

Labels

area/metricsImpacts statistics / metrics gathering, eg via Prometheus.kind/bugThis is a bug in the Cilium logic.kind/regressionThis functionality worked fine before, but was broken in a newer release of Cilium.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions