From 918f911fb67dd9d9bdffdabbcab6a6962e081473 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 (cherry picked from commit 99b2c127cd71a32276b59f225e68776099adb5b3) --- docs/sources/_index.md | 9 +++++---- docs/sources/_index.md.t | 9 +++++---- docs/sources/flow/_index.md | 2 ++ docs/sources/operator/_index.md | 2 ++ docs/sources/static/_index.md | 2 ++ 5 files changed, 16 insertions(+), 8 deletions(-) diff --git a/docs/sources/_index.md b/docs/sources/_index.md index 1561d91650b8..4c7f090e9d2b 100644 --- a/docs/sources/_index.md +++ b/docs/sources/_index.md @@ -15,10 +15,11 @@ cascade: # Grafana Agent -Grafana Agent is a vendor-neutral, batteries-included telemetry collector with -configuration inspired by [Terraform][]. It is designed to be flexible, -performant, and compatible with multiple ecosystems such as Prometheus and -OpenTelemetry. +{{< 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. Grafana Agent is based around **components**. Components are wired together to form programmable observability **pipelines** for telemetry collection, diff --git a/docs/sources/_index.md.t b/docs/sources/_index.md.t index 51208637215f..49acc6f6c7d6 100644 --- a/docs/sources/_index.md.t +++ b/docs/sources/_index.md.t @@ -15,10 +15,11 @@ cascade: # Grafana Agent -Grafana Agent is a vendor-neutral, batteries-included telemetry collector with -configuration inspired by [Terraform][]. It is designed to be flexible, -performant, and compatible with multiple ecosystems such as Prometheus and -OpenTelemetry. +{{< 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. Grafana Agent is based around **components**. Components are wired together to form programmable observability **pipelines** for telemetry collection, diff --git a/docs/sources/flow/_index.md b/docs/sources/flow/_index.md index df5e6ffdec8f..feb4ea9994d0 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 1c9aef3aca53..d715eb88020b 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 f2b98bab167a..3ad1a9c7acef 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_: