internal_metricsο
Collect logs from Internal Metrics
Type: internal_metrics
Sample YAMLο
{% code title=βsources.yamlβ %}
sources:
internal_metrics_example:
type: internal_metrics
route_label: ''
metric_to_log: false
# optional:
# <key>: <value>
{% endcode %}
Fields Referenceο
Below are tables for Base, TLS, and Optional sections. Columns: Key, Label, Type, Default, Required, Depends on, Enum / Notes.
Baseο
Key |
Label |
Type |
Default |
Required |
Enum / Notes |
Depends on |
|---|---|---|---|---|---|---|
route_label |
Event Routing Label |
string |
ββ |
β |
The label to use in routing these events to a destination. Defaults to source name-type. |
β |
metric_to_log |
Metric to Log |
bool |
false |
β |
Convert a metric event into a log event, which can be useful for sending metrics to log-support downstream components. |
β |
Optionalο
Key |
Label |
Type |
Default |
Required |
Enum / Notes |
Depends on |
|---|---|---|---|---|---|---|
description |
Description |
string |
ββ |
β |
The description of the entry. |
β |
namespace |
Namespace |
string |
vector |
β |
Overrides the default namespace for the metrics emitted by the source. |
β |
scrape_interval_secs |
Scrape Interval Secs |
int |
1 |
β |
The interval between metric gathering, in seconds. |
β |