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

Commit fcdb9f3

Browse files
WIP
1 parent 7f73920 commit fcdb9f3

File tree

7 files changed

+82
-57
lines changed

7 files changed

+82
-57
lines changed

gdi/opentelemetry/automatic-discovery/discovery-linux.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,6 @@ Automatic discovery for Linux
2222

2323
To enable the Collector's zero-code instrumentation of back-end applications written in Java, Node.js, and .NET see :ref:`linux-backend-auto-discovery`. With this option you won't have to install and configure your instrumentation agents separately.
2424

25-
To use the Collector's automatic discovery and configuration of third-party applications in Linux environments see :ref:`linux-third-party`. With this option you'll only have to reuse a config file automatically generated by the Collector.
25+
To use the Collector's automatic discovery and configuration of third-party applications in Linux environments see :ref:`linux-third-party`. With this option you'll only have to reuse a config file automatically generated by the Collector.
26+
27+
For advanced auto discovery configuration see :ref:`linux-advanced-auto-discovery-config`.

gdi/opentelemetry/automatic-discovery/linux/linux-advanced-config.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
.. _linux-advanced-auto-discovery-config:
22

33
*****************************************************************************
4-
Advanced customization for automatic discovery and instrumentation in Linux
4+
Advanced customization for automatic discovery in Linux
55
*****************************************************************************
66

77
.. meta::
88
:description: Learn how to customize your deployment of automatic discovery and instrumentation in a Linux environment.
99

10-
Learn how to customize automatic discovery and instrumentation for advanced scenarios.
10+
Learn how to customize automatic discovery and zero-code instrumentation for advanced scenarios.
1111

1212
Through advanced customization, you can achieve the following tasks:
1313

1414
* :ref:`Override automatic instrumentation settings <override-default-settings-linux>`
1515
* :ref:`Use automatic discovery with gateway mode <use-with-gateway-linux>`
1616
* :ref:`Customize discovery settings for third-party applications <customize-third-party-settings-linux>`
1717

18-
.. note:: For advanced customization options in Kubernetes, see :ref:`k8s-advanced-auto-discovery-config`.
19-
2018
.. _override-default-settings-linux:
2119

2220
Override default automatic instrumentation settings
@@ -76,6 +74,8 @@ To activate runtime metrics collection for an individual language, follow these
7674
#. Set the environment variable ``SPLUNK_METRICS_ENABLED=true``.
7775
#. Restart your applications.
7876

77+
78+
7979
.. _use-with-gateway-linux:
8080

8181
Use automatic discovery with gateway mode

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,32 +43,31 @@ To install the Splunk Distribution of the OpenTelemetry Collector for Kubernetes
4343
* :ref:`kubernetes-helm-architecture`
4444
* :ref:`kubernetes-helm-releases`
4545

46+
.. note:: By default, you'll obtain these :ref:`Kubernetes metrics <ootb-metrics-k8s>`.
47+
4648
Optionally, you can also:
4749

4850
* :ref:`otel-install-k8s-manifests`
4951
* :ref:`Deploy the Collector as an AWS EKS Add-on <install-k8s-addon-eks>`
50-
* Deploy the Collector using the Technical Add-on, which provides out-of-the box Collector content and configuration. Learn more at :ref:`collector-addon-intro`.
51-
52-
.. note:: By default, you'll obtain these :ref:`Kubernetes metrics <ootb-metrics-k8s>`.
52+
* Deploy the Collector using the Technical Add-on, which provides out-of-the box Collector content and configuration. Learn more at :ref:`collector-addon-intro`
5353

5454
.. raw:: html
5555

5656
<embed>
5757
<h2>Configure the Collector for Kubernetes<a name="k8s-configure" class="headerlink" href="#k8s-configure" title="Permalink to this headline">¶</a></h2>
5858
</embed>
5959

60-
To configure the Collector, including adding additional components or activating automatic discovery, see:
60+
.. note:: To deploy the Collector for Kubernetes and automatically find services and applications running in your environment refer to :ref:`discovery-kubernetes`.
61+
62+
To configure the Collector see:
6163

6264
* :ref:`otel-kubernetes-config`
6365
* :ref:`kubernetes-config-add`
64-
* :ref:`discovery-mode-k8s`
6566
* :ref:`kubernetes-config-logs`
6667
* :ref:`otel-kubernetes-config-advanced`
6768

6869
.. include:: /_includes/gdi/collector-common-options.rst
6970

70-
To automatically find services and applications running in your Kubernetes environment and send data from them to Splunk Observability Cloud refer to :ref:`discovery-kubernetes`.
71-
7271
.. raw:: html
7372

7473
<embed>

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

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,26 @@ Get started with the Collector for Linux
2424

2525
To install and configure the Splunk Distribution of the OpenTelemetry Collector for Linux, follow these docs:
2626

27+
.. raw:: html
28+
29+
<embed>
30+
<h2>Install the Collector for Linux<a name="linux-install" class="headerlink" href="#linux-install" title="Permalink to this headline">¶</a></h2>
31+
</embed>
32+
2733
* :ref:`otel-install-linux`
2834
* :ref:`otel-install-linux-manual`
2935
* :ref:`otel-install-linux-tools`
3036

3137
.. note:: You can also deploy the Collector using the Technical Add-on, which provides out-of-the box Collector content and configuration. Learn more at :ref:`collector-addon-intro`.
3238

39+
.. raw:: html
40+
41+
<embed>
42+
<h2>Configure the Collector for Linux<a name="linux-configure" class="headerlink" href="#linux-configure" title="Permalink to this headline">¶</a></h2>
43+
</embed>
44+
45+
.. note:: To deploy the Collector for Linux and automatically find services and applications running in your environment refer to :ref:`discovery-linux`.
46+
3347
See the default settings and configuration options at:
3448

3549
* :ref:`linux-config-ootb`
@@ -39,13 +53,24 @@ See the default settings and configuration options at:
3953

4054
.. include:: /_includes/gdi/collector-common-options.rst
4155

42-
To automatically find services and applications running in your Linux environment and send data from them to Splunk Observability Cloud refer to :ref:`discovery-linux`.
56+
.. raw:: html
57+
58+
<embed>
59+
<h2>Upgrade, uninstall and troubleshoot<a name="linux-ts" class="headerlink" href="#linux-ts" title="Permalink to this headline">¶</a></h2>
60+
</embed>
61+
4362

4463
To upgrade or uninstall, see:
4564

4665
* :ref:`otel-linux-upgrade`
4766
* :ref:`otel-linux-uninstall`
4867

49-
.. note:: If you have any installation or configuration issues, refer to :ref:`otel-troubleshooting`.
68+
If you have any installation or configuration issues, refer to :ref:`otel-troubleshooting`.
69+
70+
.. raw:: html
71+
72+
<embed>
73+
<h2>Tutorials<a name="linux-tutorials" class="headerlink" href="#linux-tutorials" title="Permalink to this headline">¶</a></h2>
74+
</embed>
5075

5176
For a walkthrough of common tasks related to the OpenTelemetry Collector for Linux see: :ref:`about-collector-configuration-tutorial`.

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

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -92,52 +92,12 @@ Configure automatic discovery for back-end applications
9292

9393
You can also automatically instrument your Java, Node.js, and .NET applications along with the Collector installation. Automatic discovery removes the need to configure receivers for each back-end application. See :ref:`linux-backend-auto-discovery` for the installation instructions.
9494

95-
For more information on instrumentation, see:
95+
For more information on APM instrumentation, see:
9696

9797
* :ref:`get-started-java`
9898
* :ref:`get-started-nodejs`
9999
* :ref:`get-started-dotnet-otel`
100100

101-
.. _collector-linux-with-docker:
102-
103-
Collector for Linux with Docker
104-
====================================================================
105-
106-
Install the Collector in a host with Docker
107-
--------------------------------------------------------------------
108-
109-
If you're installing your Collector instance in a host with Docker, you need to configure a client to establish a connection with the daemon. Depending on your Docker installation and Collector deployment method, try one of these options:
110-
111-
1. If your daemon is listening to a domain socket (for example ``/var/run/docker.sock``), your Collector service or executable needs appropriate permissions and access. Add the ``splunk-otel-collector`` user to the Docker group as configured on your system:
112-
113-
.. code-block:: bash
114-
115-
$ usermod -aG docker splunk-otel-collector
116-
117-
2. When using the :new-page:`quay.io/signalfx/splunk-otel-collector <https://quay.io/repository/signalfx/splunk-otel-collector>` image, add the default container user to the required group as configured on your system, and the bind and mount the domain socket:
118-
119-
.. code-block:: bash
120-
121-
$ docker run -v /var/run/docker.sock:/var/run/docker.sock:ro --group-add $(stat -c '%g' /var/run/docker.sock) quay.io/signalfx/splunk-otel-collector:latest <...>
122-
123-
# or if specifying the user:group directly
124-
$ docker run -v /var/run/docker.sock:/var/run/docker.sock:ro --user "splunk-otel-collector:$(stat -c '%g' /var/run/docker.sock)" quay.io/signalfx/splunk-otel-collector:latest <...>
125-
126-
Use auto discovery with containers
127-
--------------------------------------------------------------------
128-
129-
If your Collector instance is running in a Docker container and the discovery targets are also containers, you need to share the Docker socket when launching the Collector container:
130-
131-
.. code-block:: bash
132-
133-
$ docker run -v /var/run/docker.sock:/var/run/docker.sock:ro --group-add <socket_gid>
134-
135-
To use host bindings, run this command:
136-
137-
.. code-block:: bash
138-
139-
--set=splunk.discovery.extensions.docker_observer.config.use_host_bindings=true
140-
141101
.. _otel-installer-options-linux:
142102

143103
Options of the installer script of the Collector for Linux

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

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,43 @@ You can view the ``splunk-otel-collector`` service logs and errors in the system
2929
sudo journalctl -u splunk-otel-collector
3030
3131
.. note:: See :ref:`about-collector-configuration-tutorial` to learn how to configure the Collector.
32+
33+
.. _collector-linux-with-docker:
34+
35+
Collector for Linux with Docker
36+
====================================================================
37+
38+
Install the Collector in a host with Docker
39+
--------------------------------------------------------------------
40+
41+
If you're installing your Collector instance in a host with Docker, you need to configure a client to establish a connection with the daemon. Depending on your Docker installation and Collector deployment method, try one of these options:
42+
43+
1. If your daemon is listening to a domain socket (for example ``/var/run/docker.sock``), your Collector service or executable needs appropriate permissions and access. Add the ``splunk-otel-collector`` user to the Docker group as configured on your system:
44+
45+
.. code-block:: bash
46+
47+
$ usermod -aG docker splunk-otel-collector
48+
49+
2. When using the :new-page:`quay.io/signalfx/splunk-otel-collector <https://quay.io/repository/signalfx/splunk-otel-collector>` image, add the default container user to the required group as configured on your system, and the bind and mount the domain socket:
50+
51+
.. code-block:: bash
52+
53+
$ docker run -v /var/run/docker.sock:/var/run/docker.sock:ro --group-add $(stat -c '%g' /var/run/docker.sock) quay.io/signalfx/splunk-otel-collector:latest <...>
54+
55+
# or if specifying the user:group directly
56+
$ docker run -v /var/run/docker.sock:/var/run/docker.sock:ro --user "splunk-otel-collector:$(stat -c '%g' /var/run/docker.sock)" quay.io/signalfx/splunk-otel-collector:latest <...>
57+
58+
Use auto discovery with containers
59+
--------------------------------------------------------------------
60+
61+
If your Collector instance is running in a Docker container and the discovery targets are also containers, you need to share the Docker socket when launching the Collector container:
62+
63+
.. code-block:: bash
64+
65+
$ docker run -v /var/run/docker.sock:/var/run/docker.sock:ro --group-add <socket_gid>
66+
67+
To use host bindings, run this command:
68+
69+
.. code-block:: bash
70+
71+
--set=splunk.discovery.extensions.docker_observer.config.use_host_bindings=true

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ To install the Splunk Distribution of the OpenTelemetry Collector for Windows, f
2828
* :ref:`otel-install-windows-msi`
2929
* :ref:`otel-install-windows-tools`
3030
* :ref:`otel-install-windows-manual`
31-
32-
.. note:: You can also deploy the Collector using the Technical Add-on, which provides out-of-the box Collector content and configuration. Learn more at :ref:`collector-addon-intro`.
31+
* You can also deploy the Collector using the Technical Add-on, which provides out-of-the box Collector content and configuration. Learn more at :ref:`collector-addon-intro`.
3332

3433
See the default settings and configuration options at:
3534

0 commit comments

Comments
 (0)