Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Expose metrics about internal operations during a reconciler run #657

Open

Description

@aryan9600

At the moment, we only expose the readiness of the object and the duration of the reconciler run. It'd be helpful for both users and developers if we expose metrics about internal ops such as garbage collection, remote operations (git fetch, helm pull, etc). This would enable us to analyze and optimize the operations and give users a clearer picture of how the controller is working.

Activity

  1. added
    enhancement
    on Apr 6, 2022
  2. cwyl02 commented on Aug 3, 2022

    @cwyl02
    Contributor

    hi @aryan9600, I am interested to work on this if ok

  3. cwyl02 commented on Sep 8, 2022

    @cwyl02
    Contributor

    hi @aryan9600 finally get some time to look deeper into this. And I see we have a cacheRecorder. Should we try to reuse that pattern where it fits?
    Also, I guess for every metric we come up with, namespace is always a desirable dimension?

  4. aryan9600 commented on Sep 10, 2022

    @aryan9600
    MemberAuthor

    Yes, using that pattern seems like a good idea for now, we can think about expanding the Recorder in fluxcd/pkg/runtime/metrics later.
    I'd say the namespace and name labels are desirable for all metrics. Developers and users should be able to see stuff like the avg. duration of git checkout or a helm pull for each source object, which would enable them to have a clearer picture of the controller's behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions