From 99b2c127cd71a32276b59f225e68776099adb5b3 Mon Sep 17 00:00:00 2001 From: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> Date: Wed, 10 Apr 2024 14:51:24 -0700 Subject: [PATCH] Add deprecation banner to main index files in Agent (#6843) * Add deprecation banner to main index files in Agent * Remove extra shared file --- docs/sources/_index.md | 2 ++ docs/sources/_index.md.t | 2 ++ docs/sources/flow/_index.md | 2 ++ docs/sources/operator/_index.md | 2 ++ docs/sources/static/_index.md | 2 ++ 5 files changed, 10 insertions(+) diff --git a/docs/sources/_index.md b/docs/sources/_index.md index c1579be48469..ffb4fba9b95d 100644 --- a/docs/sources/_index.md +++ b/docs/sources/_index.md @@ -15,6 +15,8 @@ cascade: # Grafana Agent +{{< docs/shared lookup="agent-deprecation.md" source="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. diff --git a/docs/sources/_index.md.t b/docs/sources/_index.md.t index af7244fff0d9..76baffffc072 100644 --- a/docs/sources/_index.md.t +++ b/docs/sources/_index.md.t @@ -15,6 +15,8 @@ cascade: # Grafana Agent +{{< docs/shared lookup="agent-deprecation.md" source="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. diff --git a/docs/sources/flow/_index.md b/docs/sources/flow/_index.md index 947c898ecc4f..0d5c9d0dbf0c 100644 --- a/docs/sources/flow/_index.md +++ b/docs/sources/flow/_index.md @@ -16,6 +16,8 @@ cascade: # {{% param "PRODUCT_NAME" %}} +{{< docs/shared lookup="agent-deprecation.md" source="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. diff --git a/docs/sources/operator/_index.md b/docs/sources/operator/_index.md index a39241c87a62..b7c0a64dedb7 100644 --- a/docs/sources/operator/_index.md +++ b/docs/sources/operator/_index.md @@ -13,6 +13,8 @@ weight: 300 # Static mode Kubernetes operator (Beta) +{{< docs/shared lookup="agent-deprecation.md" source="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. diff --git a/docs/sources/static/_index.md b/docs/sources/static/_index.md index 4ce1f420367a..eca6a4803b2b 100644 --- a/docs/sources/static/_index.md +++ b/docs/sources/static/_index.md @@ -10,6 +10,8 @@ weight: 200 # Static mode +{{< docs/shared lookup="agent-deprecation.md" source="alloy" version="">}} + Static mode is the original mode of Grafana Agent. Static mode is composed of different _subsystems_: