Skip to content

Commit c592cb1

Browse files
authored
chore: add more direct regression case for s3 sink (#18082)
Signed-off-by: Luke Steensen <[email protected]>
1 parent 421b421 commit c592cb1

File tree

3 files changed

+54
-0
lines changed

3 files changed

+54
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
generator:
2+
- http:
3+
seed: [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131]
4+
target_uri: "http://localhost:8282/"
5+
bytes_per_second: "100 Mb"
6+
parallel_connections: 10
7+
method:
8+
post:
9+
variant: "json"
10+
maximum_prebuild_cache_size_bytes: "256 Mb"
11+
headers: {}
12+
13+
blackhole:
14+
- http:
15+
binding_addr: "0.0.0.0:8080"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
data_dir = "/var/lib/vector"
2+
3+
##
4+
## Sources
5+
##
6+
7+
[sources.internal_metrics]
8+
type = "internal_metrics"
9+
10+
[sources.http_source]
11+
type = "http"
12+
acknowledgements = false
13+
address = "0.0.0.0:8282"
14+
decoding.codec = "json"
15+
16+
##
17+
## Sinks
18+
##
19+
20+
[sinks.prometheus]
21+
type = "prometheus_exporter"
22+
inputs = ["internal_metrics"]
23+
address = "0.0.0.0:9090"
24+
25+
[sinks.s3_service]
26+
type = "aws_s3"
27+
inputs = ["http_source"]
28+
29+
region = "us-west-2"
30+
endpoint = "http://localhost:8080"
31+
bucket = "vector-soak-service"
32+
33+
framing.method = "newline_delimited"
34+
encoding.codec = "json"
35+
36+
[sinks.s3_service.auth]
37+
access_key_id = "BADDCAFE"
38+
secret_access_key = "BADDCAFE"

0 commit comments

Comments
 (0)