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

Enable real-time metrics reporting #1368

Merged
merged 4 commits into from
Feb 15, 2021

Conversation

dominiklohmann
Copy link
Member

@dominiklohmann dominiklohmann commented Feb 11, 2021

📔 Description

This PR contains three changes:

  • It replaces underscores with dashes in vast.metrics.* options to be consistent with other options.
  • It removes the unused vast.metrics.enable option. Use vast.enable-metrics instead.
  • It adds new options vast.metrics.{file,uds}-sink.real-time to enable real-time metrics reporting. This is disabled by default.

📝 Checklist

  • All user-facing changes have changelog entries.
  • The changes are reflected on docs.tenzir.com/vast, if necessary.
  • The PR description contains instructions for the reviewer, if necessary.

🎯 Review Instructions

For @tenzir/backend: Review code file-by-file. Please also review the related documentation PR.

For @0snap, who requested this feature: Run locally and see if this suits your needs. You can create a static binary for this branch on-demand with the new "Run workflow" button on the actions page for the VAST Static workflow. Edit: I've done this, you can find the run here.

@dominiklohmann dominiklohmann added the feature New functionality label Feb 11, 2021
@dominiklohmann dominiklohmann requested review from 0snap and a team February 11, 2021 10:04
@dominiklohmann dominiklohmann force-pushed the story/ch21938/real-time-metrics branch 2 times, most recently from 2b52d5a to 311e29a Compare February 11, 2021 16:38
Copy link
Contributor

@0snap 0snap left a comment

Choose a reason for hiding this comment

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

I tested with the file-sink only - this works great from a user's perspective.

This commit contains three changes:
- It replaces underscores with dashes in vast.metrics.* options to be
  consistent with other options.
- It removes the unused vast.metrics.enable option. Use
  vast.enable-metrics instead.
- It adds a new options vast.metrics.real-time to enable real-time
  metrics reporting. This is disabled by default.
@dominiklohmann
Copy link
Member Author

I rebased this onto recent master to fix the merge conflict in the changelog file.

Copy link
Member

@tobim tobim left a comment

Choose a reason for hiding this comment

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

Found a duplicate line, looks fine otherwise.

libvast/src/accountant/config.cpp Outdated Show resolved Hide resolved
@dominiklohmann dominiklohmann merged commit ee0b75e into master Feb 15, 2021
@dominiklohmann dominiklohmann deleted the story/ch21938/real-time-metrics branch February 15, 2021 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants