Add UpDownCounter metric type to OTEL server API

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Networking & Observability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, server API for adding new OTEL metrics offers counter, gauge and histogram metric types. We also need UpDownCounter metric type.

      A known use-case from SPM-4498 project: we need to report the number of currently open and currently pinned cursors. The metric can be easily updated from ClientCursor and CursorPin classes by adding 1 on construction and subtrating1 on destruction.

            Assignee:
            Unassigned
            Reporter:
            Romans Kasperovics
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: