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

Remove OpenCensus tracer from Istio XDS #51078

Merged

Conversation

lei-tang
Copy link
Contributor

@lei-tang lei-tang commented May 15, 2024

Please provide a description of this PR:

OpenCensus is deprecated. This PR removes the OpenCensus tracer from Istio XDS.

Related issue: #50808.

To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

  • Ambient
  • Configuration Infrastructure
  • Docs
  • Dual Stack
  • Installation
  • Networking
  • Performance and Scalability
  • [x ] Policies and Telemetry
  • Security
  • Test and Release
  • User Experience
  • Developer Infrastructure

@lei-tang lei-tang requested review from zirain and kyessenov May 15, 2024 19:46
@lei-tang lei-tang requested a review from a team as a code owner May 15, 2024 19:46
@istio-testing istio-testing added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label May 15, 2024
@lei-tang lei-tang mentioned this pull request May 15, 2024
Copy link
Member

@howardjohn howardjohn left a comment

Choose a reason for hiding this comment

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

LG

@@ -200,14 +195,6 @@ func configureFromProviderConfig(pushCtx *model.PushContext, proxy *model.Proxy,
}
return otelLightStepConfig(clusterName, hostname, provider.Lightstep.GetAccessToken())
}
case *meshconfig.MeshConfig_ExtensionProvider_Opencensus:
Copy link
Member

Choose a reason for hiding this comment

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

we should probably add some form of warnings if these are used.

Maybe in manifests/charts/istio-control/istio-discovery/templates/NOTES.txt for helm and operator/pkg/apis/istio/v1alpha1/validation/validation.go for operator?

can be a followup

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ack.

Copy link
Member

Choose a reason for hiding this comment

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

a warn log is adoptable.

@lei-tang lei-tang requested review from a team as code owners May 15, 2024 23:02
@istio-testing istio-testing added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels May 15, 2024
"@type": "type.googleapis.com/envoy.config.trace.v3.OpenCensusConfig",
"stackdriver_exporter_enabled": true,
"stackdriver_project_id": "{{ .stackdriverProjectID }}",
{{ if .sts_port }}
Copy link
Member

Choose a reason for hiding this comment

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

Do we only use sts_port for stackdriver? If so, can clean up that code in istio-agent as well in the future

cc @kyessenov

(note: the STS I cleaned up was separate, we had 2 STS things in the agent)

Copy link
Contributor

Choose a reason for hiding this comment

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

It's different impersonations I believe. Yeah, we can move it to Google agent as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

STS is also used for Google CA. STS clean up can be a separate work.

Copy link
Member

Choose a reason for hiding this comment

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

Google CA's usage of STS is in #51043

@lei-tang lei-tang changed the title [Work-in-progress, not ready for review] Remove OpenCensus tracer from Istio XDS Remove OpenCensus tracer from Istio XDS May 15, 2024
Copy link
Member

@zirain zirain left a comment

Choose a reason for hiding this comment

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

LGTM

@lei-tang
Copy link
Contributor Author

@howardjohn Can you review/approve this PR? Thanks!

@istio-testing istio-testing merged commit 68f497c into istio:master May 16, 2024
28 checks passed
@lei-tang lei-tang deleted the remove-opencensus-tracer-5-15-2024 branch May 16, 2024 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants