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

Commit 05b879e

Browse files
Feedback
1 parent 9ed355c commit 05b879e

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
* ``collection_interval``. ``10s`` by default. Sets the interval this receiver collects metrics on.
2+
3+
* This value must be a string readable by Golang's ``time.ParseDuration``. Learn more at Go's official documentation :new-page:`ParseDuration function <https://pkg.go.dev/time#ParseDuration>`.
4+
5+
* Valid time units are ``ns``, ``us`` (or ``µs``), ``ms``, ``s``, ``m``, ``h``.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* ``initial_delay``. ``1s`` by default. Determines how long this receiver waits before collecting metrics for the first time.

gdi/opentelemetry/components/apache-receiver.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,9 @@ The following settings are required:
6262

6363
The following settings are optional:
6464

65-
* ``collection_interval``. ``10s`` by default. Sets the interval this receiver collects metrics on.
66-
67-
* This value must be a string readable by Golang's ``time.ParseDuration``. Learn more at Go's official documentation :new-page:`ParseDuration function <https://pkg.go.dev/time#ParseDuration>`.
68-
69-
* Valid time units are ``ns``, ``us`` (or ``µs``), ``ms``, ``s``, ``m``, ``h``.
65+
.. include:: /_includes/gdi/collector-settings-collectioninterval.rst
7066

71-
* ``initial_delay``. ``1s`` by default. Determines how long this receiver waits before collecting metrics for the first time.
67+
.. include:: /_includes/gdi/collector-settings-initialdelay.rst
7268

7369
Settings
7470
======================

gdi/opentelemetry/components/ngninx-receiver.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,9 @@ The following settings are available:
5353

5454
* ``endpoint``. :strong:`Required`. ``http://localhost:80/status`` by default. The URL of the NGINX status endpoint.
5555

56-
* ``collection_interval``. ``10s`` by default. This receiver runs on an interval. Each time it runs, it queries NGINX, creates metrics, and sends them to the next consumer. This option sets the duration between runs.
56+
.. include:: /_includes/gdi/collector-settings-collectioninterval.rst
5757

58-
* Must be a string readable by Golang's ``ParseDuration`` function, for example ``1h30m``.
59-
60-
* Valid time units are ``ns``, ``us`` (or ``µs``), ``ms``, ``s``, ``m``, ``h``.
61-
62-
* ``initial_delay``. ``1s`` by default. Defines how long this receiver waits before starting.
58+
.. include:: /_includes/gdi/collector-settings-initialdelay.rst
6359

6460
Settings
6561
======================

0 commit comments

Comments
 (0)