Skip to content

Commit

Permalink
Add deprecation banner to main index files in Agent (#6843)
Browse files Browse the repository at this point in the history
* Add deprecation banner to main index files in Agent

* Remove extra shared file
  • Loading branch information
clayton-cornell authored Apr 10, 2024
1 parent a41bbad commit 99b2c12
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/sources/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ cascade:

# Grafana Agent

{{< docs/shared lookup="agent-deprecation.md" source="alloy" version="<ALLOY_VERSION>">}}

Grafana Agent is an OpenTelemetry Collector distribution with configuration
inspired by [Terraform][]. It is designed to be flexible, performant, and
compatible with multiple ecosystems such as Prometheus and OpenTelemetry.
Expand Down
2 changes: 2 additions & 0 deletions docs/sources/_index.md.t
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ cascade:

# Grafana Agent

{{< docs/shared lookup="agent-deprecation.md" source="alloy" version="<ALLOY_VERSION>">}}

Grafana Agent is an OpenTelemetry Collector distribution with configuration
inspired by [Terraform][]. It is designed to be flexible, performant, and
compatible with multiple ecosystems such as Prometheus and OpenTelemetry.
Expand Down
2 changes: 2 additions & 0 deletions docs/sources/flow/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ cascade:

# {{% param "PRODUCT_NAME" %}}

{{< docs/shared lookup="agent-deprecation.md" source="alloy" version="<ALLOY_VERSION>">}}

{{< param "PRODUCT_NAME" >}} is a _component-based_ revision of {{< param "PRODUCT_ROOT_NAME" >}} with a focus on ease-of-use,
debuggability, and ability to adapt to the needs of power users.

Expand Down
2 changes: 2 additions & 0 deletions docs/sources/operator/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ weight: 300

# Static mode Kubernetes operator (Beta)

{{< docs/shared lookup="agent-deprecation.md" source="alloy" version="<ALLOY_VERSION>">}}

Grafana Agent Operator is a [Kubernetes operator][] for the [static mode][] of
Grafana Agent. It makes it easier to deploy and configure static mode to
collect telemetry data from Kubernetes resources.
Expand Down
2 changes: 2 additions & 0 deletions docs/sources/static/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ weight: 200

# Static mode

{{< docs/shared lookup="agent-deprecation.md" source="alloy" version="<ALLOY_VERSION>">}}

Static mode is the original mode of Grafana Agent.
Static mode is composed of different _subsystems_:

Expand Down

0 comments on commit 99b2c12

Please sign in to comment.