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

对接 Skywalking 和 OTel 服务时强制为对应的 Cluster 启用 HTTP2 协议 #1316

Open
CH3CHO opened this issue Sep 16, 2024 · 1 comment

Comments

@CH3CHO
Copy link
Collaborator

CH3CHO commented Sep 16, 2024

Why do you need it?

在 Higress 配置了对接外部的 Skywalking 或者 OTel 服务时,由于目前通过 MCP 下发的 Cluster 配置在未配置路由的情况下,无法指定其对应的后端协议,而相关功能又依赖 gRPC 协议转发,无法正常工作。

How could it be?

通过修改 Controller 生成的 EnvoyFilter 配置,为对应的 Cluster Patch 上 以下配置:

"typed_extension_protocol_options": {
  "envoy.extensions.upstreams.http.v3.HttpProtocolOptions": {
    "@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions",
    "explicit_http_config": {
      "http2_protocol_options": {}
    }
  }
}

Other related information

#1314

@CH3CHO CH3CHO added type/enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed area/observability level/normal sig/controller labels Sep 16, 2024
@whalecold
Copy link
Contributor

I want to try it, could you assign it to me

@johnlanni johnlanni removed the help wanted Extra attention is needed label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

3 participants