From 8a9a157d44e9cd2b1558fb052d6ee01c4e622032 Mon Sep 17 00:00:00 2001 From: Paschalis Tsilias Date: Fri, 5 Apr 2024 18:13:38 +0300 Subject: [PATCH] Replace some usages of agent with alloy (#126) Signed-off-by: Paschalis Tsilias --- .github/ISSUE_TEMPLATE/bug_report.yaml | 8 ++++---- .github/ISSUE_TEMPLATE/config.yml | 10 +++++----- .github/ISSUE_TEMPLATE/feature_request.yaml | 6 +++--- .github/ISSUE_TEMPLATE/proposal.yaml | 4 ++-- .github/pull_request_template.md | 4 ++-- CHANGELOG.md | 1 - docs/developer/release/1-create-release-branch.md | 2 +- .../configuration-syntax/expressions/operators.md | 2 +- .../expressions/referencing_exports.md | 2 +- docs/sources/reference/components/discovery.gce.md | 2 +- docs/sources/reference/components/loki.write.md | 2 +- .../components/otelcol.processor.discovery.md | 2 +- .../components/prometheus.exporter.postgres.md | 4 ++-- .../reference/components/prometheus.receive_http.md | 4 ++-- .../reference/components/prometheus.remote_write.md | 8 +++----- docs/sources/reference/components/pyroscope.write.md | 4 ++-- .../shared/reference/components/otelcol-retry-block.md | 2 +- docs/sources/tasks/configure/configure-kubernetes.md | 8 ++++---- 18 files changed, 36 insertions(+), 39 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 39a6be892..52d2b1a4b 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -1,13 +1,13 @@ name: Bug report -description: Create a report to help us improve Grafana Agent. +description: Create a report to help us improve Grafana Alloy. labels: ["bug"] body: - type: markdown attributes: value: | - Thank you for opening a bug report for Grafana Agent. + Thank you for opening a bug report for Grafana Alloy. - Please do not use GitHub issues for support questions. If you need help or support, ask a question in [GitHub Discussions](https://github.com/grafana/agent/discussions) or join the `#agent` channel on the [Grafana Slack](https://slack.grafana.com/). + Please do not use GitHub issues for support questions. If you need help or support, ask a question in [GitHub Discussions](https://github.com/grafana/alloy/discussions) or join the `#alloy` channel on the [Grafana Slack](https://slack.grafana.com/). - type: textarea attributes: label: What's wrong? @@ -27,7 +27,7 @@ body: attributes: label: Software version description: Provide the version of the software you are using. - placeholder: e.g. Grafana Agent v0.33.0 + placeholder: e.g. Grafana Alloy v1.0.0 - type: textarea attributes: label: Configuration diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index bfe8f2ea0..161ec778e 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -2,12 +2,12 @@ # recognize it. blank_issues_enabled: true contact_links: - - name: Grafana Agent community support - url: https://github.com/grafana/agent/discussions - about: If you need help or support, ask questions in Github Discussions. - - name: Grafana Agent Slack + - name: Grafana Alloy community support + url: https://github.com/grafana/alloy/discussions + about: If you need help or support, ask questions in GitHub Discussions. + - name: Grafana Alloy Slack url: https://slack.grafana.com/ - about: "Join the #agent slack channel to chat about Grafana Agent in real-time." + about: "Join the #alloy slack channel to chat about Grafana Alloy in real-time." - name: Grafana Cloud or Grafana Enterprise url: https://grafana.com/profile/org#support about: Open a support ticket for help with Grafana Cloud or Grafana Enterprise. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml index 8e08b0bd5..61c714505 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yaml +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -1,13 +1,13 @@ name: Feature request -description: Suggest an idea to be added to Grafana Agent. +description: Suggest an idea to be added to Grafana Alloy. labels: ["enhancement"] body: - type: markdown attributes: value: | - Thank you for opening a feature request for Grafana Agent. + Thank you for opening a feature request for Grafana Alloy. - Please do not use GitHub issues for support questions. If you need help or support, ask a question in [GitHub Discussions](https://github.com/grafana/agent/discussions) or join the `#agent` channel on the [Grafana Slack](https://slack.grafana.com/). + Please do not use GitHub issues for support questions. If you need help or support, ask a question in [GitHub Discussions](https://github.com/grafana/alloy/discussions) or join the `#alloy` channel on the [Grafana Slack](https://slack.grafana.com/). - type: textarea attributes: label: Request diff --git a/.github/ISSUE_TEMPLATE/proposal.yaml b/.github/ISSUE_TEMPLATE/proposal.yaml index 0d0f20288..834df9155 100644 --- a/.github/ISSUE_TEMPLATE/proposal.yaml +++ b/.github/ISSUE_TEMPLATE/proposal.yaml @@ -5,9 +5,9 @@ body: - type: markdown attributes: value: | - Thank you for opening a proposal for Grafana Agent. + Thank you for opening a proposal for Grafana Alloy. - Please do not use GitHub issues for support questions. If you need help or support, ask a question in [GitHub Discussions](https://github.com/grafana/agent/discussions) or join the `#agent` channel on the [Grafana Slack](https://slack.grafana.com/). + Please do not use GitHub issues for support questions. If you need help or support, ask a question in [GitHub Discussions](https://github.com/grafana/alloy/discussions) or join the `#alloy` channel on the [Grafana Slack](https://slack.grafana.com/). - type: textarea attributes: label: Background diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 812531ebb..a0349e2e4 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,6 +1,6 @@ \ No newline at end of file + diff --git a/docs/sources/shared/reference/components/otelcol-retry-block.md b/docs/sources/shared/reference/components/otelcol-retry-block.md index 95900714c..78f12df10 100644 --- a/docs/sources/shared/reference/components/otelcol-retry-block.md +++ b/docs/sources/shared/reference/components/otelcol-retry-block.md @@ -20,7 +20,7 @@ The `initial_interval` argument specifies how long to wait before the first retr If requests continue to fail, the time to wait before retrying increases by the factor specified by the `multiplier` argument, which must be greater than `1.0`. The `max_interval` argument specifies the upper bound of how long to wait between retries. -The `randomization_factor` argument is useful for adding jitter between retrying agents. +The `randomization_factor` argument is useful for adding jitter between retrying Alloy instances. If `randomization_factor` is greater than `0`, the wait time before retries is multiplied by a random factor in the range `[ I - randomization_factor * I, I + randomization_factor * I]`, where `I` is the current interval. If a batch hasn't been sent successfully, it is discarded after the time specified by `max_elapsed_time` elapses. diff --git a/docs/sources/tasks/configure/configure-kubernetes.md b/docs/sources/tasks/configure/configure-kubernetes.md index 36935ef22..32535c0b5 100644 --- a/docs/sources/tasks/configure/configure-kubernetes.md +++ b/docs/sources/tasks/configure/configure-kubernetes.md @@ -121,10 +121,10 @@ Use this method if you prefer to write your {{< param "PRODUCT_NAME" >}} configu } ``` -1. Create a ConfigMap called `agent-config` from the above file: +1. Create a ConfigMap called `alloy-config` from the above file: ```shell - kubectl create configmap --namespace agent-config "--from-file=config.alloy=./config.alloy" + kubectl create configmap --namespace alloy-config "--from-file=config.alloy=./config.alloy" ``` Replace the following: @@ -134,10 +134,10 @@ Use this method if you prefer to write your {{< param "PRODUCT_NAME" >}} configu 1. Modify Helm Chart's configuration in your `values.yaml` to use the existing ConfigMap: ```yaml - agent: + alloy: configMap: create: false - name: agent-config + name: alloy-config key: config.alloy ```