|
1 | 1 | .. _purefa-receiver: |
2 | 2 |
|
3 | 3 | ******************************************************** |
4 | | -Pure Storage FlashArray Receiver receiver |
| 4 | +Pure Storage FlashArray receiver |
5 | 5 | ******************************************************** |
6 | 6 |
|
7 | 7 | .. meta:: |
8 | 8 | :description: Receives metrics from the Pure Storage FlashArray. |
9 | 9 |
|
10 | | -The Splunk Distribution of the OpenTelemetry Collector supports the Pure Storage FlashArray Receiver (Purefa) receiver. Documentation is planned for a future release. |
| 10 | +The Pure Storage FlashArray (Purefa) receiver fetches metrics from the Pure Storage FlashArray. |
| 11 | + |
| 12 | +Get started |
| 13 | +====================== |
| 14 | + |
| 15 | +Follow these steps to configure and activate the component: |
| 16 | + |
| 17 | +1. Deploy the Splunk Distribution of the OpenTelemetry Collector to your host or container platform: |
| 18 | + |
| 19 | + - :ref:`otel-install-linux` |
| 20 | + - :ref:`otel-install-windows` |
| 21 | + - :ref:`otel-install-k8s` |
| 22 | + |
| 23 | +2. Configure the receiver as described in the next section. |
| 24 | +3. Restart the Collector. |
| 25 | + |
| 26 | +Sample configuration |
| 27 | +---------------------------------------------------------------------- |
| 28 | + |
| 29 | +To activate the Purefa receiver in the Collector, add ``purefa`` to the ``receivers`` section of your configuration file, as shown in the following example: |
| 30 | + |
| 31 | +.. code:: yaml |
| 32 | +
|
| 33 | + receivers: |
| 34 | + purefa: |
| 35 | +
|
| 36 | +To complete the configuration, include the receiver in the ``metrics`` pipeline of the ``service`` section of your configuration file. For example: |
| 37 | + |
| 38 | +.. code:: yaml |
| 39 | +
|
| 40 | + service: |
| 41 | + pipelines: |
| 42 | + metrics: |
| 43 | + receivers: [purefa] |
| 44 | +
|
| 45 | +
|
| 46 | +
|
| 47 | +Configuration settings |
| 48 | +------------------------------------------------- |
| 49 | + |
| 50 | +The following settings are required: |
| 51 | + |
| 52 | +* ``endpoint``. The URL of the scraper selected endpoint. If void the receiver runs without fetching any metrics. |
| 53 | + |
| 54 | +* ``fa_array_name``. The array's pretty name to be used as a metrics label. |
| 55 | + |
| 56 | +* ``namespace``. ``purefa`` by default. The selected Pure Storage OpenMetrics Namespace to query. |
| 57 | + |
| 58 | +Configuration example |
| 59 | +---------------------------------------------------------------------- |
| 60 | + |
| 61 | +In this example ``array01`` uses the :new-page:`Pure Storage FlashArray OpenMetrics exporter <https://github.com/PureStorage-OpenConnect/pure-fa-openmetrics-exporter>`, while ``array02`` uses the native on-box metrics provided in Purity//FA v6.6.11 or higher. |
| 62 | + |
| 63 | +.. code:: yaml |
| 64 | +
|
| 65 | + extensions: |
| 66 | + bearertokenauth/array01: |
| 67 | + token: "..." |
| 68 | + bearertokenauth/array02: |
| 69 | + token: "..." |
| 70 | +
|
| 71 | + receivers: |
| 72 | + purefa/array01: |
| 73 | + fa_array_name: foobar01 |
| 74 | + endpoint: http://127.0.0.1:9490/metrics |
| 75 | + array: |
| 76 | + - address: array01 |
| 77 | + auth: |
| 78 | + authenticator: bearertokenauth/array01 |
| 79 | + hosts: |
| 80 | + - address: array01 |
| 81 | + auth: |
| 82 | + authenticator: bearertokenauth/array01 |
| 83 | + directories: |
| 84 | + - address: array01 |
| 85 | + auth: |
| 86 | + authenticator: bearertokenauth/array01 |
| 87 | + pods: |
| 88 | + - address: array01 |
| 89 | + auth: |
| 90 | + authenticator: bearertokenauth/array01 |
| 91 | + volumes: |
| 92 | + - address: array01 |
| 93 | + auth: |
| 94 | + authenticator: bearertokenauth/array01 |
| 95 | + env: dev |
| 96 | + settings: |
| 97 | + reload_intervals: |
| 98 | + array: 20s |
| 99 | + hosts: 60s |
| 100 | + directories: 60s |
| 101 | + pods: 60s |
| 102 | + volumes: 60s |
| 103 | +
|
| 104 | + purefa/array02: |
| 105 | + fa_array_name: foobar02 |
| 106 | + endpoint: https://127.0.0.1/metrics |
| 107 | + tls: |
| 108 | + insecure_skip_verify: true |
| 109 | + array: |
| 110 | + - address: array02 |
| 111 | + auth: |
| 112 | + authenticator: bearertokenauth/array02 |
| 113 | + hosts: |
| 114 | + - address: array02 |
| 115 | + auth: |
| 116 | + authenticator: bearertokenauth/array02 |
| 117 | + directories: |
| 118 | + - address: array02 |
| 119 | + auth: |
| 120 | + authenticator: bearertokenauth/array02 |
| 121 | + pods: |
| 122 | + - address: array02 |
| 123 | + auth: |
| 124 | + authenticator: bearertokenauth/array02 |
| 125 | + volumes: |
| 126 | + - address: array02 |
| 127 | + auth: |
| 128 | + authenticator: bearertokenauth/array02 |
| 129 | + env: production |
| 130 | + settings: |
| 131 | + reload_intervals: |
| 132 | + array: 20s |
| 133 | + hosts: 60s |
| 134 | + directories: 60s |
| 135 | + pods: 60s |
| 136 | + volumes: 60s |
| 137 | +
|
| 138 | + service: |
| 139 | + extensions: [bearertokenauth/array01,bearertokenauth/array02] |
| 140 | + pipelines: |
| 141 | + metrics: |
| 142 | + receivers: [purefa/array01,purefa/array02] |
| 143 | +
|
| 144 | +Settings |
| 145 | +====================== |
| 146 | + |
| 147 | +The following table shows the configuration options for the Purefa receiver: |
| 148 | + |
| 149 | +.. raw:: html |
| 150 | + |
| 151 | + <div class="metrics-standard" category="included" url="https://raw.githubusercontent.com/splunk/collector-config-tools/main/cfg-metadata/receiver/purefa.yaml"></div> |
| 152 | + |
| 153 | +.. _purefa-receiver-metrics: |
| 154 | + |
| 155 | +Metrics |
| 156 | +===================== |
| 157 | + |
| 158 | +The following metrics, resource attributes, and attributes are available. |
| 159 | + |
| 160 | +.. raw:: html |
| 161 | + |
| 162 | + <div class="metrics-component" category="included" url="https://raw.githubusercontent.com/splunk/collector-config-tools/main/metric-metadata/purefareceiver.yaml"></div> |
| 163 | + |
| 164 | +Troubleshooting |
| 165 | +====================== |
| 166 | + |
| 167 | +.. raw:: html |
| 168 | + |
| 169 | + <div class="include-start" id="troubleshooting-components.rst"></div> |
| 170 | + |
| 171 | +.. include:: /_includes/troubleshooting-components.rst |
| 172 | + |
| 173 | +.. raw:: html |
| 174 | + |
| 175 | + <div class="include-stop" id="troubleshooting-components.rst"></div> |
| 176 | + |
| 177 | + |
| 178 | + |
11 | 179 |
|
12 | | -To find information about this component in the meantime, see :new-page:`Pure Storage FlashArray Receiver receiver <https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/purefareceiver>` on GitHub. |
13 | 180 |
|
0 commit comments