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 timer metric over endpoint rule engine resolution #1262

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

dannycjones
Copy link
Contributor

Today, Mountpoint evaluates the rule engine with every request despite always using the same endpoint in its default configuration.

This change adds a histogram metric so that we can begin to have visibility on how long this is taking, and how this can be distributed.

Does this change impact existing behavior?

No, it adds a new metric for endpoint resolution.

Does this change need a changelog entry? Does it require a version change?

No, metrics are not considered a stable feature. This is a new metric addition only, no change or removal.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).

@dannycjones dannycjones temporarily deployed to PR integration tests February 10, 2025 12:17 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests February 10, 2025 12:17 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests February 10, 2025 12:17 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests February 10, 2025 12:17 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests February 10, 2025 12:17 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests February 10, 2025 12:17 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests February 10, 2025 12:17 — with GitHub Actions Inactive
@dannycjones
Copy link
Contributor Author

I'd be tempted to write some criterion benchmarks for the resolver, but I'll leave that for now. I think this can just get us some quick visibility.

Copy link
Contributor

@unexge unexge left a comment

Choose a reason for hiding this comment

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

Not for this PR, but it'd be also nice if we describe these metrics with short descriptions that answers, what it is, why we should care about it, etc.

@dannycjones dannycjones added this pull request to the merge queue Feb 10, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 10, 2025
@dannycjones dannycjones added this pull request to the merge queue Feb 10, 2025
Merged via the queue into awslabs:main with commit 6410b8c Feb 10, 2025
24 checks passed
@dannycjones dannycjones deleted the add-endpoint-resolution-timer branch February 10, 2025 16:45
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.

2 participants