Skip to content

Conversation

@ChrsMark
Copy link
Member

@ChrsMark ChrsMark commented Dec 2, 2025

This PR tunes the docs according to the first point of open-telemetry/opentelemetry-collector#13910 (comment):

This was also discussed during KubeConNA 25' (SIG meeting happened in OTel Observatory). It was double checked that there is agreement on changing the stability levels of the Collector to match semconv/otel levels. No objections were raised by people attended

@open-telemetry/collector-approvers @open-telemetry/collector-contrib-approvers please review.

@ChrsMark ChrsMark requested a review from a team as a code owner December 2, 2025 10:23
@otelbot-docs otelbot-docs bot requested a review from a team December 2, 2025 10:23
@otelbot-docs otelbot-docs bot requested review from mx-psi and removed request for a team December 2, 2025 10:23
@ChrsMark ChrsMark force-pushed the tune_collector_stability_levels branch from 01a6325 to f16885a Compare December 2, 2025 10:32
@otelbot-docs otelbot-docs bot requested a review from a team December 2, 2025 10:32
@otelbot-docs otelbot-docs bot requested review from a team and atoulme and removed request for a team December 2, 2025 15:36
Copy link
Member

@tiffany76 tiffany76 left a comment

Choose a reason for hiding this comment

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

I left some copy edit suggestions, but otherwise this LGTM! Thanks @ChrsMark!

Comment on lines 380 to 381
> Metric in `development` → `alpha` Metric → `beta` Metric → `stable` Metric →
> Deprecated metric → Deleted metric
Copy link
Member

@crobert-1 crobert-1 Dec 3, 2025

Choose a reason for hiding this comment

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

Why is the lifecycle written in this way?

`stable` metric → deprecated metric → deleted metric

I realize this is not new to this PR, but I don't understand why we're making it seem like there's a normal progression from stable to deprecated.

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm I see your point. Also I think metrics can get deprecated from other levels too, i.e. beta-> deprecated. In that case maybe we need to split these 2 "states" into a different section?

`development` metric → `alpha` Metric → `beta` Metric → `stable` Metric

If a metrics needs to be remove it goes through the following stages:

development/alpha/beta/stable metric -> deprecated metric → deleted metric

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

I will try to add this.

@otelbot-docs otelbot-docs bot requested a review from a team December 3, 2025 11:37
@ChrsMark ChrsMark force-pushed the tune_collector_stability_levels branch from b677037 to 1099be7 Compare December 3, 2025 13:33
@ChrsMark
Copy link
Member Author

ChrsMark commented Dec 3, 2025

I have added an explicit note about suggesting working with Semantic Convention us much as possible: cbe1ce6

This is coming from open-telemetry/opentelemetry-collector#13910 (comment), but I'm happy to hear what do think about this in general.

@ChrsMark
Copy link
Member Author

ChrsMark commented Dec 3, 2025

/fix:refcache

@otelbot
Copy link
Contributor

otelbot bot commented Dec 3, 2025

ℹ️ fix:refcache made no changes. Nothing to commit.

@ChrsMark ChrsMark force-pushed the tune_collector_stability_levels branch 2 times, most recently from 169842e to cbe1ce6 Compare December 3, 2025 14:52
Comment on lines 421 to 435
Before promoting a metric to stable, it should be discussed whether it needs to
be defined as a Semantic Convention, following the suggestion from the
[Collector guidelines][collectorSemConvGuidelines]. Promoting a metric to stable
without it being a Semantic Convention involves the risk of potential divergence
within OpenTelemetry's projects. For example, a stable metric in the Collector
might be introduced in a slightly different way in another OpenTelemetry project
in the future, or it might be proposed as a Semantic Convention in the future.
In case of such divergence, a stable Collector metric won't be allowed to
change, and if wider alignment is needed, the metric should be deprecated and
removed in order to come into alignment with the Semantic Conventions.
Consequently, the Collector's maintainers and components' code owners should
acknowledge that risk before marking a metric as stable without it being a
stable Semantic Convention and should provide justification for the decision. In
any case, [Semantic Conventions' guidelines][semConvGuidelines] should be
advised when metrics are defined within the Collector directly.
Copy link
Member

Choose a reason for hiding this comment

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

I think it is good to have this note somewhere, but this doesn't feel like the right place for it. To me, this document is focused on end-users and should be written with them as a target audience, while this paragraph reads as something for Collector developers

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, I think that would be a good place for it

@ChrsMark ChrsMark force-pushed the tune_collector_stability_levels branch from cbe1ce6 to 448398e Compare December 3, 2025 15:22
@otelbot-docs otelbot-docs bot requested a review from a team December 3, 2025 15:22
@ChrsMark
Copy link
Member Author

ChrsMark commented Dec 3, 2025

I would also like to request a review from @codeboten since we extensively discussed these changes at open-telemetry/opentelemetry-collector#13910 :).

@ChrsMark ChrsMark force-pushed the tune_collector_stability_levels branch from 448398e to 10073a6 Compare December 3, 2025 15:32
@svrnm svrnm requested a review from codeboten December 4, 2025 13:49
@svrnm
Copy link
Member

svrnm commented Dec 4, 2025

I would also like to request a review from @codeboten since we extensively discussed these changes at open-telemetry/opentelemetry-collector#13910 :).

🎁

@ChrsMark ChrsMark force-pushed the tune_collector_stability_levels branch from 10073a6 to 3c6a98b Compare December 8, 2025 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

6 participants