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

Add support for filtering metrics in data streams #179

Merged

Commits on Nov 16, 2023

  1. Disable checking line length while linting

    Otherwise it makes it difficult to add links that make the lines go beyond
    the 80 character limit.
    
    Signed-off-by: Tiyash Basu <tiyash.basu@frequenz.com>
    tiyash-basu-frequenz committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    da50707 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. Add support for filtering metrics in data streams

    This commit adds support for filtering metrics in data streams. The
    request messages for receiving data streams have now been extended to
    consist of a list of metrics to be streamed. This allows the user to
    request only the metrics they are interested in, instead of receiving
    all of them. If this list is empty, then no data will be streamed, and
    the service will return an error.
    
    The filter for the data stream RPCs are optional. This  is implemented
    by putting the metrics field into a nested message, which is then
    added as a field in the request message. This makes the filter
    optional, so users can apply filters only when they intend to. This
    allows the filter to be omitted, which will result in the server
    returning all metrics for the given component or sensor.
    
    Signed-off-by: Tiyash Basu <tiyash.basu@frequenz.com>
    tiyash-basu-frequenz committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    2357c5a View commit details
    Browse the repository at this point in the history