You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `url` | The Prometheus Remote Write endpoint URL. Supports `http://` and `https://` schemes. When `aws` is configured, `https://` is required. |
76
+
| `url` | The Prometheus Remote Write endpoint URL. Supports `https://` by default. To use `http://`, set `insecure` to `true`. When `aws` is configured, `https://` is required. |
76
77
77
78
### Optional
78
79
79
80
| Option | Default | Description |
80
81
|--------|---------|-------------|
82
+
| `insecure` | `false` | When `true`, allows `http://` URLs. By default, only `https://` URLs are permitted. |
81
83
| `aws` | `null` | AWS configuration for SigV4 signing. When present, requests are signed with AWS credentials. See [AWS Configuration](#aws-configuration). |
82
84
| `authentication` | `null` | HTTP Basic authentication credentials. See [Authentication](#authentication). Cannot be used with `aws`. |
83
85
| `encoding` | `snappy` | Compression encoding. Currently only `snappy` is supported. |
@@ -95,7 +97,7 @@ pipeline:
95
97
96
98
| Option | Default | Description |
97
99
|--------|---------|-------------|
98
-
| `max_events` | `500` | Maximum number of events to buffer before flushing. |
100
+
| `max_events` | `1000` | Maximum number of events to buffer before flushing. |
99
101
| `max_request_size` | `1048576` (1 MB) | Maximum request size in bytes before flushing. |
100
102
| `flush_interval` | `10000` (ms) | Maximum time in milliseconds to wait before flushing the buffer. |
Copy file name to clipboardExpand all lines: data-prepper-plugins/prometheus-sink/src/main/java/org/opensearch/dataprepper/plugins/sink/prometheus/configuration/PrometheusSinkConfiguration.java
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -81,9 +81,16 @@ public class PrometheusSinkConfiguration {
Copy file name to clipboardExpand all lines: data-prepper-plugins/prometheus-sink/src/test/java/org/opensearch/dataprepper/plugins/sink/prometheus/configuration/PrometheusSinkConfigurationTest.java
0 commit comments