Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

exp/api: Add accepted msg type validation to handler#1750

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
saswatamcode merged 2 commits intoprometheus:mainfromsaswatamcode:accprot
Feb 27, 2025

Conversation

@saswatamcode
Copy link
Member

This PR adds an accepted message arg to NewHandler, to allow callers to limit what remote write messages their servers can handle.

Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
Copy link
Member

@bwplotkabwplotka left a comment

Choose a reason for hiding this comment

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

Thanks, one suggestion only, map might be premature optimizations (for like 1 or 2 elements) (:

Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
@saswatamcodesaswatamcode merged commitad23ad6 intoprometheus:mainFeb 27, 2025
9 checks passed
ying-jeanne pushed a commit to ying-jeanne/client_golang that referenced this pull requestMar 28, 2025
* exp: Add accepted msg type validation to handlerSigned-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>* Apply feedbackSigned-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>---------Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@bwplotkabwplotkabwplotka approved these changes

@ArthurSensArthurSensAwaiting requested review from ArthurSensArthurSens is a code owner

@kakkoyunkakkoyunAwaiting requested review from kakkoyunkakkoyun is a code owner

@vesarivesariAwaiting requested review from vesarivesari is a code owner

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@saswatamcode@bwplotka

[8]ページ先頭

©2009-2025 Movatter.jp