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

Commit 7f6bcdd

Browse files
Skeleton
1 parent 4a08836 commit 7f6bcdd

File tree

3 files changed

+91
-2
lines changed

3 files changed

+91
-2
lines changed

_includes/gdi/collector-available-processors.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,12 @@
2424
* - :ref:`kubernetes-attributes-processor` (``k8sattributes``)
2525
- Allows automatic tagging of spans, metrics, and logs with Kubernetes metadata. Formerly known as ``k8s_tagger``.
2626
- Metrics, logs, traces
27-
* - :ref:`memory-limiter-processor` (``memory_limiter``)
27+
* - :ref:`memory-limiter-processor` (``memory_limiter``)
2828
- Prevents out of memory situations on the Splunk Distribution of OpenTelemetry Collector.
2929
- Metrics, logs, traces
30+
* - :ref:`metrics-generation-processor` (``metricsgeneration``)
31+
- Creates new metrics using existing metrics following a given rule.
32+
- Metrics
3033
* - :ref:`metrics-transform-processor` (``metricstransform``)
3134
- Renames metrics, and adds, renames, or deletes label keys and values.
3235
- Metrics

gdi/opentelemetry/components/a-components-processors.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Collector components: Processors
1818
groupbyattrs-processor
1919
kubernetes-attributes-processor
2020
memory-limiter-processor
21+
metrics-generation-processor
2122
metrics-transform-processor
2223
probabilistic-sampler-processor
2324
redaction-processor
@@ -30,7 +31,7 @@ Collector components: Processors
3031

3132
The Splunk Distribution of the OpenTelemetry Collector includes and supports the processors listed on this doc. To see other components, refer to :ref:`otel-components`.
3233

33-
.. note:: The following list might not contain all the latest additions. For a complete list of Collector components, including components that aren't included in the Splunk Distribution of OpenTelemetry Collector, see the ``opentelemetry-contrib`` repository in GitHub.
34+
.. note:: The following list might not contain all the latest additions. For a complete list of Collector components, including components that aren't included in the Splunk Distribution of the OpenTelemetry Collector, see the ``opentelemetry-contrib`` repository in GitHub.
3435

3536
The following processors are available:
3637

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
.. _metrics-generation-processor:
2+
3+
***********************************
4+
Metrics generation processor
5+
***********************************
6+
7+
.. meta::
8+
:description: Creates new metrics using existing metrics following a given rule.
9+
10+
The Splunk Distribution of the OpenTelemetry Collector uses the Metrics transform processor to creates new metrics using existing metrics following a given rule.
11+
12+
13+
14+
15+
Get started
16+
======================
17+
18+
Follow these steps to configure and activate the component:
19+
20+
1. Deploy the Splunk Distribution of the OpenTelemetry Collector to your host or container platform:
21+
22+
- :ref:`otel-install-linux`
23+
- :ref:`otel-install-windows`
24+
- :ref:`otel-install-k8s`
25+
26+
2. Configure the ``metricsgeneration`` processor as described in the next section.
27+
3. Restart the Collector.
28+
29+
Sample configuration
30+
--------------------------------------------
31+
32+
To activate the resource processor, add ``metricsgeneration`` to the ``processors`` section of your configuration file.
33+
34+
For example:
35+
36+
.. code-block:: yaml
37+
38+
processors:
39+
metricsgeneration:
40+
41+
To complete the configuration, include the processor in the ``metrics`` pipeline of the ``service`` section of your configuration file. For example:
42+
43+
.. code-block:: yaml
44+
45+
service:
46+
pipelines:
47+
metrics:
48+
processors: [metricsgeneration]
49+
50+
.. _metrics-generation-processor-config-example:
51+
52+
Configuration example
53+
----------------------------------
54+
55+
56+
.. _metrics-generation-processor-settings:
57+
58+
Settings
59+
======================
60+
61+
The following table shows the configuration options for the ``metricstransform`` processor:
62+
63+
.. raw:: html
64+
65+
<div class="metrics-standard" category="included" url="https://raw.githubusercontent.com/splunk/collector-config-tools/main/cfg-metadata/processor/metricstransform.yaml"></div>
66+
67+
Troubleshooting
68+
======================
69+
70+
71+
72+
.. raw:: html
73+
74+
<div class="include-start" id="troubleshooting-components.rst"></div>
75+
76+
.. include:: /_includes/troubleshooting-components.rst
77+
78+
.. raw:: html
79+
80+
<div class="include-stop" id="troubleshooting-components.rst"></div>
81+
82+
83+
84+
85+

0 commit comments

Comments
 (0)