Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[PAN-2074] Add --metrics-category CLI to only enable select metrics #969

Merged
merged 2 commits into from
Feb 26, 2019

Conversation

shemnon
Copy link
Contributor

@shemnon shemnon commented Feb 26, 2019

PR description

We are growing our list of metrics by the day, and some of them we don't
always need. So we should provide a way to trim them.

  • If metrics are not enabled we supply a no-op metrics
  • If only select metric categories are enabled we supply real metrics
    for the slected metrics and no-op metrics for all the rest

Fixed Issue(s)

PAN-2074

We are growing our list of metrics by the day, and some of them we don't
always need.  So we should provide a way to trim them.

* If metrics are not enabled we supply a no-op metrics
* If only select metric categories are enabled we supply real metrics
  for the slected metrics and no-op metrics for all the rest
Copy link
Contributor

@ajsutton ajsutton left a comment

Choose a reason for hiding this comment

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

LGTM.

@shemnon shemnon merged commit b8c16cf into PegaSysEng:master Feb 26, 2019
@shemnon shemnon deleted the CLI branch February 26, 2019 04:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants