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 "multi_port" and "multi_service" traits to connector metrics #2581

Merged
merged 1 commit into from May 16, 2022

Conversation

thallgren
Copy link
Contributor

Adds the two boolean traits to the intercept metrics reported by the
connector:

  • multi_port indicates that the intercept is one of several concurrent
    intercepts on the same workload.
  • multi_service indicates that the concurrent intercepts on the same
    workload uses different services.

The traits are added to the following actions:

  • connector_can_intercept_success
  • connector_can_intercept_fail
  • connector_create_intercept_success
  • connector_create_intercept_fail
  • connector_remove_intercept_success
  • connector_remove_intercept_fail

Adds the two boolean traits to the intercept metrics reported by the
connector:
- `multi_port` indicates that the intercept is one of several concurrent
  intercepts on the same workload.
- `multi_service` indicates that the concurrent intercepts on the same
  workload uses different services.

The traits are added to the following actions:
- `connector_can_intercept_success`
- `connector_can_intercept_fail`
- `connector_create_intercept_success`
- `connector_create_intercept_fail`
- `connector_remove_intercept_success`
- `connector_remove_intercept_fail`

Signed-off-by: Thomas Hallgren <thomas@datawire.io>
@thallgren thallgren added the ok to test Applied by maintainers when a PR is ready to have tests run on it label May 16, 2022
@github-actions github-actions bot removed the ok to test Applied by maintainers when a PR is ready to have tests run on it label May 16, 2022
@thallgren thallgren merged commit 72b0c49 into release/v2 May 16, 2022
@thallgren thallgren deleted the thallgren/multiport-metrics branch May 16, 2022 17:30
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.

None yet

2 participants