Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions clickhouse/assets/configuration/spec.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: ClickHouse
fleet_configurable: true
files:
- name: clickhouse.yaml
options:
Expand All @@ -14,37 +15,44 @@ files:
- template: instances
options:
- name: server
fleet_configurable: true
required: true
description: The hostname used to connect to the system.
value:
type: string
- name: port
description: The port used to connect to the system.
fleet_configurable: true
value:
type: integer
example: 9000
- name: username
description: The database user to authenticate as.
fleet_configurable: true
value:
type: string
example: default
- name: password
description: The password of `username`.
fleet_configurable: true
secret: true
value:
type: string
- name: db
description: The database to connect to.
fleet_configurable: true
value:
type: string
display_default: default
- name: connect_timeout
description: The timeout for connecting to the `server`.
fleet_configurable: true
value:
type: integer
example: 10
- name: read_timeout
description: The timeout for reading from the `server`.
fleet_configurable: true
value:
type: integer
example: 10
Expand All @@ -58,6 +66,7 @@ files:
- zstd
- br
- gzip
fleet_configurable: true
value:
type: string
- name: tls_ca_cert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,22 @@
required: true
description: |
The URL exposing metrics in the OpenMetrics format.
fleet_configurable: true
value:
type: string
- name: namespace
hidden: true
description: |
The namespace to be prepended to all metrics.
fleet_configurable: true
value:
type: string
pattern: '\w*'
- name: raw_metric_prefix
description: |
A prefix that is removed from all exposed metric names, if present.
All configuration options will use the prefix-less name.
fleet_configurable: true
value:
type: string
example: <PREFIX>_
Expand Down Expand Up @@ -69,6 +72,7 @@
- .+:
type: gauge
````
fleet_configurable: true
value:
example:
- <METRIC_1>
Expand Down Expand Up @@ -171,6 +175,7 @@
In order to exclude all metrics but the ones matching a specific filter,
you can use a negative lookahead regex like:
- ^(?!foo).*$
fleet_configurable: true
value:
type: array
items:
Expand Down Expand Up @@ -200,6 +205,7 @@
type: string
- name: tag_by_endpoint
description: Whether to include an endpoint tag or not.
fleet_configurable: true
hidden: true
value:
type: boolean
Expand All @@ -212,6 +218,7 @@
Labels defined in `exclude_labels` will take precedence in case of overlap.

Note: Label filtering happens before `rename_labels`.
fleet_configurable: true
value:
type: array
items:
Expand All @@ -222,6 +229,7 @@
Labels defined in `exclude_labels` will take precedence in case of overlap.

Note: Label filtering happens before `rename_labels`.
fleet_configurable: true
value:
type: array
items:
Expand All @@ -238,12 +246,14 @@
description: |
Whether or not to send a service check named `<NAMESPACE>.openmetrics.health` which reports
the health of the `openmetrics_endpoint`.
fleet_configurable: true
value:
example: true
type: boolean
- name: ignore_connection_errors
description: |
Whether or not to ignore connection errors when scraping `openmetrics_endpoint`.
fleet_configurable: true
value:
example: false
type: boolean
Expand All @@ -262,6 +272,7 @@
- name: collect_histogram_buckets
description: |
Whether or not to send histogram buckets.
fleet_configurable: true
value:
example: true
type: boolean
Expand All @@ -278,6 +289,7 @@

Learn more about distribution metrics:
https://docs.datadoghq.com/developers/metrics/types/?tab=distribution#metric-types
fleet_configurable: true
value:
example: false
type: boolean
Expand All @@ -286,6 +298,7 @@
Whether or not to also collect the observation counter metrics ending in `.sum` and `.count`
when sending histogram buckets as Datadog distribution metrics. This implicitly enables the
`histogram_buckets_as_distributions` option.
fleet_configurable: true
value:
example: false
type: boolean
Expand All @@ -295,6 +308,7 @@
the first time an endpoint is scraped, check `process_start_time_seconds` to decide whether zero
initial value can be assumed for counters. This requires keeping metrics in memory until the entire
response is received.
fleet_configurable: true
value:
example: false
type: boolean
Expand Down Expand Up @@ -381,6 +395,7 @@
- name: ignore_tags
description: |
A list of regular expressions used to ignore tags added by Autodiscovery and entries in the `tags` option.
fleet_configurable: true
value:
type: array
items:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
- name: prometheus_url
required: true
description: The URL where your application metrics are exposed by Prometheus.
fleet_configurable: true
value:
type: string
- name: namespace
Expand Down Expand Up @@ -77,12 +78,14 @@
Override a type in the Prometheus payload or type an untyped metric (ignored by default).
Supported <METRIC_TYPE> are `gauge`, `counter`, `histogram`, and `summary`.
The "*" wildcard can be used to match multiple metric names.
fleet_configurable: true
value:
example:
<METRIC_NAME>: <METRIC_TYPE>
type: object
- name: send_histograms_buckets
description: Set send_histograms_buckets to true to send the histograms bucket.
fleet_configurable: true
value:
example: true
type: boolean
Expand All @@ -91,11 +94,13 @@
Set `send_distribution_buckets` to `true` to send histograms as Datadog distribution metrics.

Learn more about distribution metrics: https://docs.datadoghq.com/developers/metrics/distributions/
fleet_configurable: true
value:
example: false
type: boolean
- name: send_monotonic_counter
description: Set send_monotonic_counter to true to send counters as monotonic counter.
fleet_configurable: true
value:
example: true
type: boolean
Expand All @@ -109,11 +114,13 @@
type: boolean
- name: send_distribution_counts_as_monotonic
description: If set to true, sends histograms and summary counters as monotonic counters (instead of gauges).
fleet_configurable: true
value:
example: false
type: boolean
- name: send_distribution_sums_as_monotonic
description: If set to true, sends histograms and summary sums as monotonic counters (instead of gauges).
fleet_configurable: true
value:
example: false
type: boolean
Expand All @@ -123,6 +130,7 @@
the first time an endpoint is scraped, check `process_start_time_seconds` to decide whether zero
initial value can be assumed for counters. This requires keeping metrics in memory until the entire
response is received.
fleet_configurable: true
value:
example: false
type: boolean
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
- name: tls_verify
fleet_configurable: true
value:
example: true
type: boolean
Expand Down
9 changes: 9 additions & 0 deletions ibm_db2/assets/configuration/spec.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: IBM Db2
fleet_configurable: true
files:
- name: ibm_db2.yaml
options:
Expand All @@ -16,35 +17,41 @@ files:
options:
- name: db
description: The name of the database to establish a connection with.
fleet_configurable: true
required: True
value:
type: string
example: <DATABASE_NAME>
- name: username
description: The database user to authenticate as.
fleet_configurable: true
required: True
value:
type: string
- name: password
description: The password of `username`.
fleet_configurable: true
required: True
secret: true
value:
type: string
- name: host
description: The hostname used to connect to a remote or uncataloged database.
fleet_configurable: true
value:
type: string
example: <HOSTNAME>
- name: port
description: The port used to connect to a remote or uncataloged database.
fleet_configurable: true
value:
type: integer
example: 50000
- name: security
description: |
Set this parameter to `ssl` to use the SSL protocol for a connection to the database server using the default
certificate from the ibm-db driver package. Specifying `tls_cert` is not required when using this option.
fleet_configurable: true
value:
type: string
example: none
Expand All @@ -55,11 +62,13 @@ files:
description: |
The path to a SSL certificate to use, when connecting to a database in a secure fashion. It
has to be accessible and readable by the agent user.
fleet_configurable: true
value:
type: string
- name: connection_timeout
description: |
Connection timeout in seconds
fleet_configurable: true
value:
type: integer
example: 10
Expand Down
2 changes: 2 additions & 0 deletions ibm_was/assets/configuration/spec.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: IBM WAS
fleet_configurable: true
files:
- name: ibm_was.yaml
options:
Expand All @@ -9,6 +10,7 @@ files:
- template: instances
options:
- name: servlet_url
fleet_configurable: true
required: true
description: |
The URL of the PerfServlet configured to report metrics.
Expand Down
Loading
Loading