Skip to content

metrics service: fix wrong argument arrange on MetricsServiceSink#17127

Merged
mattklein123 merged 3 commits intoenvoyproxy:mainfrom
Shikugawa:fix-inverted
Jul 2, 2021
Merged

metrics service: fix wrong argument arrange on MetricsServiceSink#17127
mattklein123 merged 3 commits intoenvoyproxy:mainfrom
Shikugawa:fix-inverted

Conversation

@Shikugawa
Copy link
Copy Markdown
Member

Signed-off-by: Shikugawa rei@tetrate.io

Commit Message: This is the follow up of this change. #16125
We are passing arguments invertedly to MetricsServiceSink.

https://github.com/envoyproxy/envoy/blob/main/source/extensions/stat_sinks/metrics_service/grpc_metrics_service_impl.h#L122

Additional Description:
Risk Level: Low
Testing: N/A
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

@Shikugawa Shikugawa requested a review from snowp June 24, 2021 09:49
@Shikugawa Shikugawa requested a review from jmarantz as a code owner June 24, 2021 09:49
jmarantz
jmarantz previously approved these changes Jun 24, 2021
Copy link
Copy Markdown
Contributor

@jmarantz jmarantz left a comment

Choose a reason for hiding this comment

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

Seems obviously right to me. It's a little surprising to me that there wasn't a test fix also. Can we have a unit test that calls createStatsSink that fails in the current state but passes with this change?

@jmarantz
Copy link
Copy Markdown
Contributor

/wait

Signed-off-by: Shikugawa <rei@tetrate.io>
Copy link
Copy Markdown
Contributor

@jmarantz jmarantz left a comment

Choose a reason for hiding this comment

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

Thanks for adding the test; just a few minor nits.

@jmarantz
Copy link
Copy Markdown
Contributor

/wait

Signed-off-by: Shikugawa <rei@tetrate.io>
Copy link
Copy Markdown
Contributor

@jmarantz jmarantz left a comment

Choose a reason for hiding this comment

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

Thanks!

/assign-from @envoyproxy/senior-maintainers

@repokitteh-read-only
Copy link
Copy Markdown

@envoyproxy/senior-maintainers assignee is @snowp

🐱

Caused by: a #17127 (review) was submitted by @jmarantz.

see: more, trace.

@mattklein123 mattklein123 merged commit e5509bf into envoyproxy:main Jul 2, 2021
@Shikugawa Shikugawa deleted the fix-inverted branch July 2, 2021 16:16
baojr added a commit to baojr/envoy that referenced this pull request Jul 7, 2021
* main:
  listener: match rebalancer to listener IP family type (envoyproxy#16914)
  jwt_authn: implementation of www-authenticate header (envoyproxy#16216)
  listener: reset the file event in framework instead of listener filter doing itself (envoyproxy#17227)
  Small typo fix (envoyproxy#17247)
  Doc: Clarify request/response attributes are http-only (envoyproxy#17204)
  bazel/README.md: add aspell comment (envoyproxy#17072)
  docs: Fix broken URL links in HTTP upgrades doc (envoyproxy#17225)
  remove the wrong comment on test (envoyproxy#17233)
  upstream: allow clusters to skip waiting on warmup for initialization (envoyproxy#17179)
  JwtAuthn: support completing padding on forward jwt payload header (envoyproxy#16752)
  remove support for v2 UNSUPPORTED_REST_LEGACY (envoyproxy#16968)
  metrics service: fix wrong argument arrange on MetricsServiceSink (envoyproxy#17127)
  deps: update cel-cpp to 0.6.1 (envoyproxy#16293)
  Add ability to filter ConfigDump. (envoyproxy#16774)
  examples: fix Wasm example. (envoyproxy#17218)
  upstream: update host's socket factory when metadata is updated. (envoyproxy#16708)

Signed-off-by: Garrett Bourg <bourg@squareup.com>
chrisxrepo pushed a commit to chrisxrepo/envoy that referenced this pull request Jul 8, 2021
…voyproxy#17127)

Signed-off-by: Shikugawa <rei@tetrate.io>
Signed-off-by: chris.xin <xinchuantao@qq.com>
leyao-daily pushed a commit to leyao-daily/envoy that referenced this pull request Sep 30, 2021
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.

4 participants