Skip to content

Conversation

@mathewc
Copy link
Member

@mathewc mathewc commented Aug 31, 2023

Implements the metrics publisher for Flex Consumption. The metrics publisher by default will publish metrics every 5 seconds. Metrics files will only be written when the right environment variable is set by Legion for file path (FUNCTIONS_METRICS_PUBLISH_PATH). Regardless of whether files are written, the publisher will log metrics details each interval.

Pull request checklist

  • My changes do not require documentation changes
    • Otherwise: Documentation issue linked to PR
  • My changes should not be added to the release notes for the next release
    • Otherwise: I've added my notes to release_notes.md
  • My changes do not need to be backported to a previous version
    • Otherwise: Backport tracked by issue/PR #issue_or_pr
  • My changes do not require diagnostic events changes
    • Otherwise: I have added/updated all related diagnostic events and their documentation (Documentation issue linked to PR)
  • I have added all required tests (Unit tests, E2E tests)

@mathewc mathewc requested a review from a team as a code owner August 31, 2023 22:43
@mathewc mathewc requested review from anandagopal6 and balag0 August 31, 2023 22:50
@mathewc mathewc force-pushed the cv2-metrics-pub branch 4 times, most recently from af51c3d to 4b7e54a Compare September 13, 2023 20:03
@mathewc mathewc force-pushed the cv2-metrics-pub branch 2 times, most recently from 36696e8 to 08ab967 Compare September 14, 2023 17:28
Copy link
Contributor

@balag0 balag0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@mathewc mathewc merged commit 6b74453 into dev Oct 5, 2023
@mathewc mathewc deleted the cv2-metrics-pub branch October 5, 2023 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants