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

disable opencensus #50808

Open
zirain opened this issue May 2, 2024 · 13 comments
Open

disable opencensus #50808

zirain opened this issue May 2, 2024 · 13 comments

Comments

@zirain
Copy link
Member

zirain commented May 2, 2024

follow envoyproxy/envoy#33912, need remove all related things from istio?

cc @kyessenov @lei-tang

@kyessenov
Copy link
Contributor

I'd prefer if we just kept it in Google builds. We don't expect much help from OSS Istio here, and it's not worth exposing the entire project to the mess of opencensus deprecation.

@zirain
Copy link
Member Author

zirain commented May 2, 2024

is it fine to remove directly? better to deprecated in 1.23 and removed in 1.24?

@kyessenov
Copy link
Contributor

@lei-tang @zirain There are several usages of opencensus that need different solutions:

  1. The test that @zirain disabled is for zipkin. We need to stop using opencensus for zipkin tracing.
  2. OpenCensus tracing driver needs to be removed from OSS Istio. It's only used for Google tracing integration.
  3. OpenCensus metrics driver needs to be removed from OSS Istio Proxy. It's only used for Google monitoring integration and resides in Istio/proxy.

@lei-tang
Copy link
Contributor

lei-tang commented May 2, 2024

With regard to OpenCensus removal from OSS Istio, the following items need to be done.

In the OSS istio proxy repository, the usage of following items need to be removed:

  • OpenCensus tracer
  • Metrics implemented through the OpenCensus SDK.

In the OSS istio repository, the code programming the OpenCensus tracer into xDS should be removed.

The user guides referring to the items above should be updated.

@howardjohn
Copy link
Member

@lei-tang @kyessenov which of these (if any) will we be doing as well?

  1. Removing Istiod OC XDS generation
  2. Removing Istiod SD XDS generation
  3. Removing istio/proxy SD filter

@kyessenov
Copy link
Contributor

@howardjohn I'm doing (3).

@howardjohn
Copy link
Member

Does that mean we should do 1+2 as well? Doesn't have to be you specifically. I would assume (2) at least

@kyessenov
Copy link
Contributor

@howardjohn I don't think we strictly have to remove protobuf generation. Envoy policy, for example, is to keep protobufs from deleted filters because it's disruptive to delete Protos.

@howardjohn
Copy link
Member

I suppose we want to do it for 1 release so we have N-1 support, why do we need it longer though?

@lei-tang
Copy link
Contributor

lei-tang commented May 14, 2024

Istio Stackdriver metrics are implemented using the OpenCensus SDK. I will create a PR to remove the XDS programming of the Istio Stackdriver metrics from Istio.

@lei-tang
Copy link
Contributor

I am working on a PR #51070 to remove the XDS programming of the Istio Stackdriver logs from Istio.

@lei-tang
Copy link
Contributor

#51078: remove OpenCensus tracer from Istio XDS.

@craigbox
Copy link
Contributor

(/cc self to make sure documentation is updated to remove mention of OpenCensus and Stackdriver.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants