-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat(metrics): Migrate from OpenCensus to OpenTelemetry #9043
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
base: main
Are you sure you want to change the base?
Conversation
This upgrades knative to 1.19 and other dependent dependencies.
The following is the coverage report on the affected files.
|
The 'hack/update-codegen.sh' script was failing with 'streaming_list_type_json_tags' API rule violations. This was caused by incorrect JSON tags on list types that prevented them from being correctly interpreted as streaming lists by the Kubernetes API. This commit fixes the following: - Removes ',omitempty' from the 'Items' field in the v1 and v1beta1 PipelineRunList structs. - Adds ',omitempty' to the 'ListMeta' field in the v1beta1 ResolutionRequestList struct.
This isn't supported after knative otel's migration.
bab5a44
to
a2ea129
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
/retest |
- Updated `pipelinerunmetrics` and `taskrunmetrics` to use OpenTelemetry instruments (histograms, counters, gauges) for creating and recording metrics. Introduced new OpenTelemetry configurations in `config/config-observability.yaml` for exporters and protocols, while marking legacy OpenCensus settings as deprecated. Rewrote the test suites for `pipelinerunmetrics` and `taskrunmetrics` to be compatible with the new OpenTelemetry-based implementation.
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The following is the coverage report on the affected files.
|
/retest |
pipelinerunmetrics
andtaskrunmetrics
to use OpenTelemetry instruments (histograms, counters, gauges) for creating and recording metrics.Introduced new OpenTelemetry configurations in
config/config-observability.yaml
for exporters and protocols..Rewrote the test suites for
pipelinerunmetrics
andtaskrunmetrics
to be compatible with the new OpenTelemetry-based implementation.Changes
fixes #8969
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes
/kind feature