Skip to content

[Feature Request]: Add metrics to file service #15509

Closed

Description

@fengttt

Is there an existing issue for the same feature request?

  • I have checked the existing issues.

Is your feature request related to a problem?

File service code needs to be instrumented.
We are missing too many metrics and the debugging
and analyzing file service performance is 
very painful.

We need to add a lots of metrics.

Describe the feature you'd like

Use the metric framework of the system. Instrument our code.
For example, for the file read/lock, we should have metrics on,

  1. how many of the lock is called,
  2. how many of them acquired the lock and do the real work
  3. how much time spend holding the lock and do work.
  4. for major component it the work, such as LRU, malloc, time spent.
  5. how many of them waited
  6. how much time spent waiting

Describe implementation you've considered

No response

Documentation, Adoption, Use Case, Migration Strategy

No response

Additional information

No response

Activity

  1. added this to the 1.2.0 milestone on Apr 12, 2024
  2. modified the milestones: 1.2.0, 1.2.1 on May 27, 2024
  3. aressu1985 commented on Jul 2, 2024

    @aressu1985
    Contributor

    fixed

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions