Skip to content

Commit b44d2bb

Browse files
maycmleejanine-c
andauthored
[DOCS-10461] Add uninstall instructions and troubleshooting section (#28385)
* add uninstall instructions and to troubleshooting * small edits * Update content/en/observability_pipelines/install_the_worker.md Co-authored-by: Janine Chan <[email protected]> * upgrade instructions * small edit * Update content/en/observability_pipelines/install_the_worker.md --------- Co-authored-by: Janine Chan <[email protected]>
1 parent 1d9d8c6 commit b44d2bb

File tree

2 files changed

+58
-5
lines changed

2 files changed

+58
-5
lines changed

Diff for: content/en/observability_pipelines/install_the_worker.md

+53-5
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,59 @@ See [Update Existing Pipelines][1] if you want to make changes to your pipeline'
160160
{{% /tab %}}
161161
{{< /tabs >}}
162162
163-
[1]: /observability_pipelines/advanced_configurations/#bootstrap-options
164-
[2]: /observability_pipelines/sources/
165-
[3]: /observability_pipelines/destinations/
166-
[4]: /observability_pipelines/processors/
163+
## Upgrade the Worker
164+
165+
To upgrade the Worker to the latest version, run the following command:
166+
167+
{{< tabs >}}
168+
{{% tab "APT" %}}
169+
170+
```
171+
sudo apt-get install --only-upgrade observability-pipelines-worker
172+
```
173+
174+
{{% /tab %}}
175+
{{% tab "RPM" %}}
176+
177+
```
178+
sudo yum install --only-upgrade observability-pipelines-worker
179+
```
180+
181+
{{% /tab %}}
182+
{{< /tabs >}}
183+
184+
185+
## Uninstall the Worker
186+
187+
If you want to uninstall the Worker, run the following commands:
188+
189+
{{< tabs >}}
190+
{{% tab "APT" %}}
191+
192+
```
193+
sudo apt-get remove --purge observability-pipelines-worker
194+
```
195+
196+
{{% /tab %}}
197+
{{% tab "RPM" %}}
198+
199+
1.
200+
```
201+
yum remove observability-pipelines-worker
202+
```
203+
1.
204+
```
205+
rpm -q --configfiles observability-pipelines-worker
206+
```
207+
208+
{{% /tab %}}
209+
{{< /tabs >}}
167210
168211
## Further reading
169212
170-
{{< partial name="whats-next/whats-next.html" >}}
213+
{{< partial name="whats-next/whats-next.html" >}}
214+
215+
[1]: /observability_pipelines/advanced_configurations/#bootstrap-options
216+
[2]: /observability_pipelines/sources/
217+
[3]: /observability_pipelines/destinations/
218+
[4]: /observability_pipelines/processors/

Diff for: content/en/observability_pipelines/troubleshooting.md

+5
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,14 @@ These are the batch parameters for each destination:
5353

5454
See [event batching][6] for more information.
5555

56+
## Getting an error when installing a new version of the Worker
57+
58+
If you try to install a new version of the Worker in an instance that is running an older version of the Worker, you get an error. You need to [uninstall][7] the older version before you can install the new version of the Worker.
59+
5660
[1]: /help/
5761
[2]: https://app.datadoghq.com/observability-pipelines
5862
[3]: /logs/explorer/search_syntax/
5963
[4]: /observability_pipelines/set_up_pipelines/#set-up-a-pipeline
6064
[5]: /observability_pipelines/advanced_configurations/#bootstrap-options
6165
[6]: /observability_pipelines/destinations/#event-batching-intro
66+
[7]: /observability_pipelines/install_the_worker#uninstall-the-worker

0 commit comments

Comments
 (0)