Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Metrics Hook #114

Merged
merged 26 commits into from
Dec 19, 2023
Merged

feat: Add Metrics Hook #114

merged 26 commits into from
Dec 19, 2023

Commits on Dec 14, 2023

  1. Adding inital Metrics Hook.

    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    402b394 View commit details
    Browse the repository at this point in the history
  2. Add metrics tracking to MetricsHook class

    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    9d56d1b View commit details
    Browse the repository at this point in the history
  3. Add metrics instrumentation to MetricsHook class

    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    06ba9d4 View commit details
    Browse the repository at this point in the history
  4. Add descriptions to metric counters

    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    231ab4d View commit details
    Browse the repository at this point in the history
  5. Update MetricsHook.cs with new constant UNIT

    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    c50235f View commit details
    Browse the repository at this point in the history
  6. Add evaluationSuccessCounter metric tracking

    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    53d9b0b View commit details
    Browse the repository at this point in the history
  7. Add error tracking for evaluation errors

    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    922fcec View commit details
    Browse the repository at this point in the history
  8. Add tags to evaluationActiveUpDownCounter in Finally method

    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    98f69eb View commit details
    Browse the repository at this point in the history
  9. Remove empty line in MetricsHook.cs

    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    5010a93 View commit details
    Browse the repository at this point in the history
  10. Refactor metrics hook class and use constants for metric names and de…

    …scriptions
    
    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    83da161 View commit details
    Browse the repository at this point in the history
  11. Add documentation.

    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    3654da8 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c19866b View commit details
    Browse the repository at this point in the history
  13. Refactor metrics constants and attributes

    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    5a0ca25 View commit details
    Browse the repository at this point in the history
  14. Update metrics constants names

    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    f3932c2 View commit details
    Browse the repository at this point in the history
  15. Add meter name to MetricsHook class

    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    e96b2a7 View commit details
    Browse the repository at this point in the history
  16. Add MetricsHookTest class for OpenFeature.Contrib.Hooks.Otel.Test

    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    3a1edef View commit details
    Browse the repository at this point in the history
  17. Add Finally_Test to MetricsHookTest.cs

    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    64e9e61 View commit details
    Browse the repository at this point in the history
  18. Refactor metrics hook tests

    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    fcaea28 View commit details
    Browse the repository at this point in the history
  19. Refactor metrics assertions in MetricsHookTest.cs

    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    a813239 View commit details
    Browse the repository at this point in the history
  20. Update README.md with usage examples for Traces and Metrics

    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    67eb243 View commit details
    Browse the repository at this point in the history
  21. Update OpenTelemetry hook example to send metrics to the console

    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    4cb73a5 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2023

  1. Configuration menu
    Copy the full SHA
    f8e52e6 View commit details
    Browse the repository at this point in the history
  2. Remove unused constant and update metric counter parameters

    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    24d1682 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2023

  1. Update metrics documentation in README.md

    Signed-off-by: André Silva <[email protected]>
    askpt committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    a46278d View commit details
    Browse the repository at this point in the history
  2. fixup: add askpt to component_owners

    Signed-off-by: Todd Baert <[email protected]>
    toddbaert authored Dec 18, 2023
    Configuration menu
    Copy the full SHA
    ea63383 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    87a59e8 View commit details
    Browse the repository at this point in the history