Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .chloggen/deprecate_light_prom.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: deprecation

# The name of the component, or a single word describing the area of concern, (e.g. crosslink)
component: receiver/lightprometheus

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: The `lightprometheus` receiver has been deprecated and will be removed in a future release.

# One or more tracking issues related to the change
issues: [6949]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext: |
Please use the [Prometheus](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/prometheusreceiver) or
[Simple Prometheus](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/simpleprometheusreceiver) receiver instead.
16 changes: 8 additions & 8 deletions internal/receiver/lightprometheusreceiver/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# Light Prometheus Receiver

| Status | |
| ------------------------ |---------------|
| Stability | [development] |
| Supported pipeline types | metrics |
| Distributions | splunk |
| Status | |
| ------------------------ |--------------|
| Stability | [deprecated] |
| Supported pipeline types | metrics |
| Distributions | splunk |

[development]: https://github.com/open-telemetry/opentelemetry-collector#development
[deprecated]: https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/component-stability.md#deprecated

:warning: Please use the [Prometheus](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/prometheusreceiver) or [Simple Prometheus](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/simpleprometheusreceiver) receiver instead.

## Overview

Expand All @@ -15,8 +17,6 @@ convert them to OTLP metrics. It is intended to be used as a replacement for the
Receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/simpleprometheusreceiver)
as it is more efficient and has a smaller memory footprint.

The receiver is under active development which means that configuration interface can change.

## Configuration

The following settings are required:
Expand Down
2 changes: 1 addition & 1 deletion internal/receiver/lightprometheusreceiver/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func NewFactory() receiver.Factory {
return receiver.NewFactory(
component.MustNewType(typeStr),
createDefaultConfig,
receiver.WithMetrics(createMetricsReceiver, component.StabilityLevelDevelopment),
receiver.WithMetrics(createMetricsReceiver, component.StabilityLevelDeprecated),
)
}

Expand Down
Loading