Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit cb5ee49

Browse files
Merge pull request #2130 from splunk/urbiz-OD6164-collector-tools
[6164]: Collector tools
2 parents 40b0657 + dd88993 commit cb5ee49

16 files changed

+282
-162
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
After you have installed the package, see:
2+
3+
* :ref:`linux-config-ootb`.
4+
* :ref:`otel-linux-config`.
5+
* :ref:`collector-how-to`.
6+
* :ref:`use-navigators-imm`.

gdi/opentelemetry/collector-linux/collector-linux-intro.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Get started with the Collector for Linux
1313

1414
Install the Collector for Linux (script) <install-linux.rst>
1515
Install the Collector for Linux (manual) <install-linux-manual.rst>
16+
Install the Collector for Linux (tools) <install-linux-tools>
1617
linux-config-ootb.rst
1718
Default Linux metrics <metrics-ootb-linux.rst>
1819
linux-config.rst
@@ -24,12 +25,13 @@ To install and configure the Splunk Distribution of the OpenTelemetry Collector
2425

2526
* :ref:`otel-install-linux`
2627
* :ref:`otel-install-linux-manual`
27-
* :ref:`linux-config-ootb`
28-
* By default, you'll obtain these :ref:`metrics <ootb-metrics-linux>`
28+
* :ref:`otel-install-linux-tools`
2929

30-
For advanced configuration options, see:
30+
See the default settings and configuration options at:
3131

32+
* :ref:`linux-config-ootb`
3233
* :ref:`otel-linux-config`
34+
* By default, you'll obtain these :ref:`metrics <ootb-metrics-windows>`
3335

3436
To upgrade or uninstall, see:
3537

@@ -38,6 +40,4 @@ To upgrade or uninstall, see:
3840

3941
.. note:: If you have any installation or configuration issues, refer to :ref:`otel-troubleshooting`.
4042

41-
For a walkthrough of common tasks related to the OpenTelemetry Collector for Kubernetes, see:
42-
43-
* :ref:`about-collector-configuration-tutorial`
43+
For a walkthrough of common tasks related to the OpenTelemetry Collector for Linux see: :ref:`about-collector-configuration-tutorial`.

gdi/opentelemetry/deployments/deployments-linux-ansible.rst renamed to gdi/opentelemetry/collector-linux/deployments-linux-ansible.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ Deploy the Collector with Ansible for Linux
55
********************************************************
66

77
.. meta::
8-
:description: Describes how to install the Splunk Observability Cloud OpenTelemetry Collector Ansible role on Linux.
8+
9+
:description: Describes how to install the Splunk Observability Cloud OpenTelemetry Collector Ansible role on Linux.
910

1011
Install the Ansible collection
1112
=========================================
@@ -154,4 +155,7 @@ The following table shows the variables that you can configure for this Ansible
154155
- Activates or deactivates JVM metrics.
155156
- ``false``
156157

158+
Next steps
159+
==================================
157160

161+
.. include:: /_includes/gdi/collector-linux-next-steps.rst

gdi/opentelemetry/deployments/deployments-chef.rst renamed to gdi/opentelemetry/collector-linux/deployments-linux-chef.rst

Lines changed: 7 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
.. _deployments-chef:
2+
.. _deployments-linux-chef:
23

34
********************************************************
4-
Deploy the Collector with Chef
5+
Deploy the Collector for Linux with Chef
56
********************************************************
67

78
.. meta::
8-
:description: Use Chef to install and configure the OpenTelemetry Collector to collect metrics, traces, and logs from Linux and Windows machines and send data to Splunk Observability Cloud.
9+
10+
:description: Use Chef to install and configure the OpenTelemetry Collector to collect metrics, traces, and logs from Linux and Windows machines and send data to Splunk Observability Cloud.
911

1012
Chef is a configuration management technology used to manage infrastructure on physical or virtual machines. Chef uses cookbooks to define a scenario.
1113

@@ -31,16 +33,6 @@ The following Linux distributions and versions:
3133
* SUSE: 12, 15 (Note: Only for Collector versions 0.34.0 or higher. Log collection with Fluentd not currently supported.)
3234
* Ubuntu: 18.04, 20.04, 22.04
3335

34-
Windows
35-
---------------------
36-
37-
The following Windows versions. All versions require using PowerShell 3.0 or newer.
38-
39-
* Windows Server 2019 64-bit
40-
* Windows Server 2022 64-bit
41-
42-
.. caution:: On Windows, the Collector is installed as a Windows service and its environment variables are set at the service scope, so they're only available to the Collector service and not to the entire machine.
43-
4436
Install and use the Collector with Chef
4537
============================================================
4638

@@ -186,62 +178,7 @@ The following table shows the variables that can be configured with this Chef co
186178
- The path to the pre-installed ``npm`` command, e.g. ``/my/custom/path/to/npm``.
187179
- ``npm``
188180

189-
Configure automatic discovery for SignalFx .NET (Windows only)
190-
=================================================================
191-
192-
You can automatically instrument your .NET applications along with the Collector installation using automatic discovery. Automatic discovery removes the need to install and configure the SignalFx .NET agent separately. See :ref:`discovery_mode` for more information.
193-
194-
The cookbook accepts the attributes described in the following table:
195-
196-
.. list-table::
197-
:widths: 20 50 30
198-
:header-rows: 1
199-
200-
* - Name
201-
- Description
202-
- Default value
203-
* - ``with_signalfx_dotnet_instrumentation``
204-
- Whether to install or manage automatic discovery for .NET. When set to ``true``, the ``signalfx-dotnet-tracing`` MSI package will be downloaded and installed, and the Windows registry will be updated based on other configuration options. To learn more, see :ref:`windows-backend-auto-discovery`
205-
- ``false``
206-
* - ``signalfx_dotnet_auto_instrumentation_version``
207-
- Version of the ``signalfx-dotnet-tracing`` MSI package to download and install.
208-
- ``1.1.0``
209-
* - ``signalfx_dotnet_auto_instrumentation_msi_url``
210-
- Specify the URL to download the MSI from a custom host, for example ``https://my.host/signalfx-dotnet-tracing-1.0.0-x64.msi``. If specified, the ``signalfx_dotnet_auto_instrumentation_version`` option is ignored.
211-
- ``https://github.com/signalfx/signalfx-dotnet-tracing/releases/download/v{{ signalfx_dotnet_auto_instrumentation_version }}/signalfx-dotnet-tracing-{{ signalfx_dotnet_auto_instrumentation_version }}-x64.msi``
212-
* - ``signalfx_dotnet_auto_instrumentation_iisreset``
213-
- By default, the ``iisreset.exe`` command will be executed after installation/configuration in order for any changes to take effect for IIS applications. Set this option to ``false`` to skip this step if IIS is managed separately or is not applicable.
214-
- ``false``
215-
* - ``signalfx_dotnet_auto_instrumentation_system_wide``
216-
- Whether to configure automatic discovery for all .NET applications on the node. When set to ``true``, all attributes and environment variables are added to the ``HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment`` registry key.
217-
- ``false``
218-
* - ``signalfx_dotnet_auto_instrumentation_environment``
219-
- Sets the deployment environment variable that is reported to Splunk APM, for example ``production``. The value is assigned to the ``SIGNALFX_ENV`` environment variable in the Windows registry.
220-
- ``''``
221-
* - ``signalfx_dotnet_auto_instrumentation_service_name``
222-
- Sets the service name for the instrumented application, for example, ``my-service``. The value is assigned to the ``SIGNALFX_SERVICE_NAME`` environment variable in the Windows registry.
223-
- ``''``
224-
* - ``signalfx_dotnet_auto_instrumentation_enable_profiler``
225-
- Activates or deactivates AlwaysOn Profiling. The value will be assigned to the ``SIGNALFX_PROFILER_ENABLED`` environment variable in the Windows registry.
226-
- ``false``
227-
* - ``signalfx_dotnet_auto_instrumentation_enable_profiler_memory``
228-
- Activates or deactivates AlwaysOn Memory Profiling. The value will be assigned to the ``SIGNALFX_PROFILER_MEMORY_ENABLED`` environment variable in the Windows registry.
229-
- ``false``
230-
* - ``signalfx_dotnet_auto_instrumentation_additional_options``
231-
- Hash of additional options to be added to the Windows registry in addition to the options above. To learn more, see :ref:`advanced-dotnet-configuration`.
232-
- ``{}``
233-
234-
Additional environment variables
235-
======================================================
236-
237-
Use ``collector_additional_env_vars`` to include any additional environment variables from the Collector configuration file for the Collector's service. ``{}`` by default.
238-
239-
For example, if the Collector's configuration file includes references to ``${MY_CUSTOM_VAR1}`` and ``${MY_CUSTOM_VAR2}``, specify the following to allow the Collector service to expand these variables:
240-
241-
.. code-block:: yaml
242-
243-
collector_additional_env_vars: {'MY_CUSTOM_VAR1' => 'value1', 'MY_CUSTOM_VAR2' => 'value2'}
244-
245-
On Linux, the variables/values will be added to the ``/etc/otel/collector/splunk-otel-collector.conf`` systemd environment file.
181+
Next steps
182+
==================================
246183

247-
On Windows, the variables/values will be added to the Environment value under the ``HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\splunk-otel-collector`` registry key.
184+
.. include:: /_includes/gdi/collector-linux-next-steps.rst

gdi/opentelemetry/deployments/deployments-linux-puppet.rst renamed to gdi/opentelemetry/collector-linux/deployments-linux-puppet.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,3 +166,8 @@ The following table shows the variables that you can configure for this Puppet m
166166
* - ``auto_instrumentation_npm_path``
167167
- The path to the pre-installed ``npm`` command required to install the Node.js SDK. For example, ``/my/custom/path/to/npm``.
168168
- ``npm``
169+
170+
Next steps
171+
==================================
172+
173+
.. include:: /_includes/gdi/collector-linux-next-steps.rst

gdi/opentelemetry/deployments/deployments-salt.rst renamed to gdi/opentelemetry/collector-linux/deployments-linux-salt.rst

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
.. _deployments-salt:
2+
.. _deployments-linux-salt:
23

34
********************************************************
4-
Deploy the Collector with Salt
5+
Deploy the Collector for Linux with Salt
56
********************************************************
67

78
.. meta::
8-
:description: Deploy the Splunk Observability Cloud OpenTelemetry Collector using a Salt formula.
9+
10+
:description: Deploy the Splunk Observability Cloud OpenTelemetry Collector for Linux using a Salt formula.
911

1012
You can use a formula to install and configure the Collector to collect metrics, traces, and logs from Linux machines and send data to Splunk Observability Cloud. See the :new-page:`GitHub repository <https://github.com/signalfx/splunk-otel-collector/tree/main/deployments/salt>` to download the Salt module.
1113

@@ -20,26 +22,26 @@ You need the following resources to use Salt:
2022
* :new-page:`Splunk Realm <https://dev.splunk.com/observability/docs/realms_in_endpoints/>`
2123
* Check exposed ports to make sure your environment doesn't have conflicts. You can change ports in the Collector configuration. See :ref:`otel-exposed-endpoints` for more information.
2224

23-
Linux
25+
Supported Linux versions
2426
------------------------
25-
Currently, we support the following Linux distributions and versions:
27+
28+
The following Linux distributions and versions are supported:
2629

2730
* Amazon Linux: 2, 2023. Log collection with Fluentd isn't supported for Amazon Linux 2023.
2831
* CentOS, Red Hat, Oracle: 7, 8, 9
2932
* Debian: 9, 10, 11
3033
* SUSE: 12, 15 (Note: Only for Collector versions 0.34.0 or higher. Log collection with Fluentd not currently supported.)
3134
* Ubuntu: 18.04, 20.04, 22.04
3235

33-
Getting started
36+
Get started
3437
==========================
3538

36-
Salt uses key-value stores known as "pillars" for user-defined data to be made available to a "minion". Salt defines a minion as a server running a Salt minion daemon which can listen to commands from a manager and run the requested tasks. Generally, minions are servers which are to be controlled using Salt.
39+
Salt uses key-value stores known as "pillars" for user-defined data to be made available to a "minion". Salt defines a minion as a server running a Salt minion daemon which can listen to commands from a manager and run the requested tasks. Generally, minions are servers controlled using Salt.
3740

3841
You can configure all attributes in the ``splunk-otel-collector`` pillar. For example:
3942

4043
.. code-block:: yaml
4144
42-
4345
splunk-otel-collector:
4446
splunk_access_token: "MY_ACCESS_TOKEN"
4547
splunk_realm: "SPLUNK_REALM"
@@ -123,7 +125,7 @@ For Linux, the formula accepts the attributes described in the following table:
123125

124126
.. _salt-zero-config:
125127

126-
Configure automatic discovery for back-end application(s) (Linux only)
128+
Configure automatic discovery for back-end application(s)
127129
======================================================================
128130

129131
You can automatically instrument your back-end applications along with the Collector installation. Automatic discovery removes the need to install and configure the OpenTelemetry SDKs separately. See :ref:`configure-auto-instrumentation` for more information.
@@ -170,3 +172,8 @@ The following table shows the variables that can be configured for this Salt mod
170172
* - ``auto_instrumentation_enable_metrics``
171173
- Activates or deactivates instrumentation metrics.
172174
- ``false``
175+
176+
Next steps
177+
==================================
178+
179+
.. include:: /_includes/gdi/collector-linux-next-steps.rst

gdi/opentelemetry/collector-linux/install-linux-manual.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -478,8 +478,4 @@ If you're running the Collector from a non-default location, the Smart Agent rec
478478
Next steps
479479
==================================
480480
481-
After you've installed the Collector, you can perform these actions:
482-
483-
* Use :ref:`Infrastructure Monitoring <get-started-infrastructure>` to track the health of your infrastructure.
484-
* Use :ref:`APM <get-started-apm>` to monitor the performance of applications.
485-
* Use :ref:`Log Observer Connect <logs-intro-logconnect>` to analyze log events and troubleshoot issues with your services.
481+
.. include:: /_includes/gdi/collector-linux-next-steps.rst
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
.. _otel-install-linux-tools:
2+
.. _install-linux-tools:
3+
4+
****************************************************************
5+
Install the Collector for Linux using deployment tools
6+
****************************************************************
7+
8+
.. meta::
9+
:description: Describes how to install the Splunk Distribution of the OpenTelemetry Collector for Windows using deployment tools.
10+
11+
.. toctree::
12+
:maxdepth: 4
13+
:hidden:
14+
15+
Ansible for Linux <deployments-linux-ansible.rst>
16+
Chef for Linux <deployments-linux-chef.rst>
17+
Puppet for Linux <deployments-linux-puppet.rst>
18+
Salt for Linux <deployments-linux-salt.rst>
19+
20+
The Splunk Distribution of the OpenTelemetry Collector for Linux is a package that provides integrated collection and
21+
forwarding for all data types. Read on to see how to install it using several deployment tools.
22+
23+
.. note::
24+
25+
The Splunk Distribution of the OpenTelemetry Collector comes with a default configuration, as detailed in :ref:`linux-config-ootb`. To modify this configuration, refer to :ref:`otel-linux-config`.
26+
27+
Alternatively, you can also install the Collector for Linux:
28+
29+
* Using the installer script. See :ref:`otel-install-linux`.
30+
* Manually. See :ref:`otel-install-linux-manual`.
31+
32+
.. _install-linux-tools-prereqs:
33+
34+
.. raw:: html
35+
36+
<embed>
37+
<h2>Prerequisites<a name="install-windows-tools-prereqs" class="headerlink" href="#install-windows-tools-prereqs" title="Permalink to this headline">¶</a></h2>
38+
</embed>
39+
40+
.. include:: /_includes/requirements/collector-linux.rst
41+
42+
.. raw:: html
43+
44+
<embed>
45+
<h2>Available deployment tools<a name="install-linux-tools-prereqs" class="headerlink" href="#install-linux-tools-prereqs" title="Permalink to this headline">¶</a></h2>
46+
</embed>
47+
48+
The following deployment tools to install the Splunk Distribution of the OpenTelemetry Collector are available:
49+
50+
* Use Splunk's Ansible role to install the package configured to collect data (metrics, traces, and logs) from Linux machines and send it to Splunk Observability Cloud. See :ref:`deployment-linux-ansible` for the instructions to download and customize the role.
51+
* Use Splunk's cookbook to install the Collector with Chef. See :ref:`deployments-linux-chef` for the installation instructions.
52+
* Use Splunk's Puppet module to install and configure the package. A module is a collection of resources, classes, files, definition, and templates. To learn how to download and customize the module, see :ref:`deployment-linux-puppet`.
53+
* Use Salt to deploy the Collector. For more information, see :ref:`deployments-linux-salt`.
54+
55+
.. note:: See also :ref:`otel_deployments`.
56+
57+
.. raw:: html
58+
59+
<embed>
60+
<h2>Next steps<a name="install-linux-next" class="headerlink" href="#install-linux-next" title="Permalink to this headline">¶</a></h2>
61+
</embed>
62+
63+
.. include:: /_includes/gdi/collector-linux-next-steps.rst
64+
65+
66+
67+
68+
69+
70+
71+
72+
73+
74+

gdi/opentelemetry/collector-linux/install-linux.rst

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,6 @@ To display all the configuration options supported by the script, use the ``-h``
282282
curl -sSL https://dl.signalfx.com/splunk-otel-collector.sh > /tmp/splunk-otel-collector.sh;
283283
sh /tmp/splunk-otel-collector.sh -h
284284
285-
286-
287-
288-
289285
.. _linux-deployments:
290286

291287
Install the Collector using deployment tools
@@ -363,13 +359,7 @@ Salt
363359
---------------
364360
Splunk provides a Salt formula to install and configure the Collector. See :ref:`deployments-salt` for the instructions.
365361

366-
367362
Next steps
368363
==================================
369364

370-
After you've installed the package, you can perform these actions:
371-
372-
* :ref:`Configure the Collector <otel-configuration>`.
373-
* Use :ref:`Infrastructure Monitoring <get-started-infrastructure>` to track the health of your infrastructure.
374-
* Use :ref:`APM <get-started-apm>` to monitor the performance of applications.
375-
* Use :ref:`Log Observer Connect <logs-intro-logconnect>` to analyze log events and troubleshoot issues with your services.
365+
.. include:: /_includes/gdi/collector-linux-next-steps.rst

gdi/opentelemetry/deployments/deployments-windows-ansible.rst renamed to gdi/opentelemetry/collector-windows/deployments-windows-ansible.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,8 @@ The following table describes the variables that can be configured for this role
116116
- The path to the Fluentd configuration file on the remote host. The default is ``%SYSTEMDRIVE%\opt\td-agent\etc\td-agent\td-agent.conf``.
117117
* - ``splunk_fluentd_config_source``
118118
- The source path to a Fluentd configuration file on your control host that is uploaded and set in place of the value set in ``splunk_fluentd_config`` on remote hosts. Use this variable to submit a custom Fluentd configuration, for example, ``./custom_fluentd_config.conf``. The default value is ``""``, which means that nothing is copied and the configuration file set with ``splunk_otel_collector_config`` is used.
119+
120+
Next steps
121+
==================================
122+
123+
.. include:: /_includes/gdi/collector-windows-next-steps.rst

0 commit comments

Comments
 (0)