Skip to content

feat: push metrics#5025

Closed
istae wants to merge 7 commits intomasterfrom
push-metrics
Closed

feat: push metrics#5025
istae wants to merge 7 commits intomasterfrom
push-metrics

Conversation

@istae
Copy link
Contributor

@istae istae commented Feb 27, 2025

Checklist

  • I have read the coding guide.
  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have filled out the description and linked the related issues.

Description

TODO: a unique id that gets created on startup needs to be added as a label before the metrics are pushed so that the metrics from one particular node do not mix with another node's metrics

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

Screenshots (if appropriate):

@istae istae changed the title Push metrics feeat: push metrics Mar 5, 2025
@istae istae changed the title feeat: push metrics feat: push metrics Mar 5, 2025
@istae istae marked this pull request as ready for review March 11, 2025 11:42
@istae istae requested a review from acha-bill as a code owner March 11, 2025 11:42
@istae istae requested a review from gacevicljubisa March 11, 2025 11:42
}

// Collect memory metrics
vm, err := mem.VirtualMemory()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

i think when the metrics are gathered for pushing, the mem and cpu metrics are already collected, I dont think you need to add them manually like this

@istae istae closed this Mar 13, 2025
@martinconic martinconic reopened this Mar 14, 2025
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.

2 participants