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(aws-logs): add extractMetric() helper #676

Merged
merged 3 commits into from
Sep 7, 2018
Merged

Commits on Sep 6, 2018

  1. feat(aws-logs): add extractMetric() helper

    This helper function makes it convenient to extract metrics
    from structured records emitted to CloudWatch logs. For example:
    
        logGroup.extractMetric('$.s3latency', 'MyService', 'S3Latency');
    
    Will extract all occurrences of { "s3latency": 89.5 } from the logs
    and emit them to the CloudWatch metric MyService/S3Latency.
    Rico Huijbers committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    b606496 View commit details
    Browse the repository at this point in the history
  2. Add test

    Rico Huijbers committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    d3cdea3 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2018

  1. Note helper method in README

    Rico Huijbers committed Sep 7, 2018
    Configuration menu
    Copy the full SHA
    3002631 View commit details
    Browse the repository at this point in the history