1
0
Fork 0

Adding upstream version 1.34.4.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-24 07:26:29 +02:00
parent e393c3af3f
commit 4978089aab
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
4963 changed files with 677545 additions and 0 deletions

View file

@ -0,0 +1,8 @@
# Example for outputting CSV
#
# Output File:
# testcases/basic.csv
#
# Input:
# impression,flagname=F5,host=1cbbb3796fc2,key=12345,platform=Java,sdkver=4.9.1,value=false count_sum=5i 1653643420000000000
# expression,flagname=E42,host=klaus,key=67890,platform=Golang,sdkver=1.18.3,value=true count_sum=42i 1653646789000000000

View file

@ -0,0 +1,2 @@
1653643420,impression,F5,1cbbb3796fc2,12345,Java,4.9.1,false,5
1653646789,expression,E42,klaus,67890,Golang,1.18.3,true,42
1 1653643420 impression F5 1cbbb3796fc2 12345 Java 4.9.1 false 5
2 1653646789 expression E42 klaus 67890 Golang 1.18.3 true 42

View file

@ -0,0 +1,10 @@
# Example for outputting CSV in non-batch mode.
#
# Output File:
# testcases/header.csv
#
# Input:
# impression,flagname=F5,host=1cbbb3796fc2,key=12345,platform=Java,sdkver=4.9.1,value=false count_sum=5i 1653643420000000000
# expression,flagname=E42,host=klaus,key=67890,platform=Golang,sdkver=1.18.3,value=true count_sum=42i 1653646789000000000
csv_header = true

View file

@ -0,0 +1,3 @@
timestamp,measurement,flagname,host,key,platform,sdkver,value,count_sum
1653643420,impression,F5,1cbbb3796fc2,12345,Java,4.9.1,false,5
1653646789,expression,E42,klaus,67890,Golang,1.18.3,true,42
1 timestamp measurement flagname host key platform sdkver value count_sum
2 1653643420 impression F5 1cbbb3796fc2 12345 Java 4.9.1 false 5
3 1653646789 expression E42 klaus 67890 Golang 1.18.3 true 42

View file

@ -0,0 +1,10 @@
# Example for outputting CSV
#
# Output File:
# testcases/nanoseconds.csv
#
# Input:
# impression,flagname=F5,host=1cbbb3796fc2,key=12345,platform=Java,sdkver=4.9.1,value=false count_sum=5i 1653643420123456
# expression,flagname=E42,host=klaus,key=67890,platform=Golang,sdkver=1.18.3,value=true count_sum=42i 1653646789789012
csv_timestamp_format = "unix_ns"

View file

@ -0,0 +1,2 @@
1653643420123456,impression,F5,1cbbb3796fc2,12345,Java,4.9.1,false,5
1653646789789012,expression,E42,klaus,67890,Golang,1.18.3,true,42
1 1653643420123456 impression F5 1cbbb3796fc2 12345 Java 4.9.1 false 5
2 1653646789789012 expression E42 klaus 67890 Golang 1.18.3 true 42

View file

@ -0,0 +1,11 @@
# Example for outputting CSV with a specified column order
#
# Output File:
# testcases/ordered.csv
#
# Input:
# mymetric,machine=A1,host=1cbbb3796fc2 pressure=987.5,temperature=23.7,hours=15i 1653643420000000000
# mymetric,machine=X9,host=83d2e491ca01 pressure=1022.6,temperature=39.9,hours=231i 1653646789000000000
csv_timestamp_format = "unix_ns"
csv_columns = ["timestamp", "field.temperature", "field.pressure", "tag.machine"]

View file

@ -0,0 +1,2 @@
1653643420000000000,23.7,987.5,A1
1653646789000000000,39.9,1022.6,X9
1 1653643420000000000 23.7 987.5 A1
2 1653646789000000000 39.9 1022.6 X9

View file

@ -0,0 +1,12 @@
# Example for outputting CSV with a specified column order
#
# Output File:
# testcases/ordered_not_exist.csv
#
# Input:
# mymetric,machine=A1,host=1cbbb3796fc2 pressure=987.5,temperature=23.7,hours=15i 1653643420000000000
# mymetric,machine=X9,host=83d2e491ca01 status="healthy",pressure=1022.6,temperature=39.9,hours=231i 1653646789000000000
csv_timestamp_format = "unix_ns"
csv_header = true
csv_columns = ["timestamp", "field.temperature", "field.pressure", "field.status", "tag.location", "tag.machine"]

View file

@ -0,0 +1,3 @@
timestamp,temperature,pressure,status,location,machine
1653643420000000000,23.7,987.5,,,A1
1653646789000000000,39.9,1022.6,healthy,,X9
1 timestamp temperature pressure status location machine
2 1653643420000000000 23.7 987.5 A1
3 1653646789000000000 39.9 1022.6 healthy X9

View file

@ -0,0 +1,12 @@
# Example for outputting CSV with a specified column order
#
# Output File:
# testcases/ordered_with_header.csv
#
# Input:
# mymetric,machine=A1,host=1cbbb3796fc2 pressure=987.5,temperature=23.7,hours=15i 1653643420000000000
# mymetric,machine=X9,host=83d2e491ca01 pressure=1022.6,temperature=39.9,hours=231i 1653646789000000000
csv_timestamp_format = "unix_ns"
csv_header = true
csv_columns = ["timestamp", "field.temperature", "field.pressure", "tag.machine"]

View file

@ -0,0 +1,3 @@
timestamp,temperature,pressure,machine
1653643420000000000,23.7,987.5,A1
1653646789000000000,39.9,1022.6,X9
1 timestamp temperature pressure machine
2 1653643420000000000 23.7 987.5 A1
3 1653646789000000000 39.9 1022.6 X9

View file

@ -0,0 +1,13 @@
# Example for outputting CSV with a specified column order
#
# Output File:
# testcases/ordered_with_header_prefix.csv
#
# Input:
# mymetric,machine=A1,host=1cbbb3796fc2 pressure=987.5,temperature=23.7,hours=15i 1653643420000000000
# mymetric,machine=X9,host=83d2e491ca01 pressure=1022.6,temperature=39.9,hours=231i 1653646789000000000
csv_timestamp_format = "unix_ns"
csv_header = true
csv_column_prefix = true
csv_columns = ["timestamp", "field.temperature", "field.pressure", "tag.machine"]

View file

@ -0,0 +1,3 @@
timestamp,field_temperature,field_pressure,tag_machine
1653643420000000000,23.7,987.5,A1
1653646789000000000,39.9,1022.6,X9
1 timestamp field_temperature field_pressure tag_machine
2 1653643420000000000 23.7 987.5 A1
3 1653646789000000000 39.9 1022.6 X9

View file

@ -0,0 +1,11 @@
# Example for outputting CSV in non-batch mode.
#
# Output File:
# testcases/prefix.csv
#
# Input:
# impression,flagname=F5,host=1cbbb3796fc2,key=12345,platform=Java,sdkver=4.9.1,value=false count_sum=5i 1653643420000000000
# expression,flagname=E42,host=klaus,key=67890,platform=Golang,sdkver=1.18.3,value=true count_sum=42i 1653646789000000000
csv_header = true
csv_column_prefix = true

View file

@ -0,0 +1,3 @@
timestamp,measurement,tag_flagname,tag_host,tag_key,tag_platform,tag_sdkver,tag_value,field_count_sum
1653643420,impression,F5,1cbbb3796fc2,12345,Java,4.9.1,false,5
1653646789,expression,E42,klaus,67890,Golang,1.18.3,true,42
1 timestamp measurement tag_flagname tag_host tag_key tag_platform tag_sdkver tag_value field_count_sum
2 1653643420 impression F5 1cbbb3796fc2 12345 Java 4.9.1 false 5
3 1653646789 expression E42 klaus 67890 Golang 1.18.3 true 42

View file

@ -0,0 +1,11 @@
# Example for outputting CSV in non-batch mode.
#
# Output File:
# testcases/rfc3339.csv
#
# Input:
# impression,flagname=F5,host=1cbbb3796fc2,key=12345,platform=Java,sdkver=4.9.1,value=false count_sum=5i 1653643420000000000
# expression,flagname=E42,host=klaus,key=67890,platform=Golang,sdkver=1.18.3,value=true count_sum=42i 1653646789000000000
csv_timestamp_format = "2006-01-02T15:04:05Z07:00"
csv_header = true

View file

@ -0,0 +1,3 @@
timestamp,measurement,flagname,host,key,platform,sdkver,value,count_sum
2022-05-27T09:23:40Z,impression,F5,1cbbb3796fc2,12345,Java,4.9.1,false,5
2022-05-27T10:19:49Z,expression,E42,klaus,67890,Golang,1.18.3,true,42
1 timestamp measurement flagname host key platform sdkver value count_sum
2 2022-05-27T09:23:40Z impression F5 1cbbb3796fc2 12345 Java 4.9.1 false 5
3 2022-05-27T10:19:49Z expression E42 klaus 67890 Golang 1.18.3 true 42

View file

@ -0,0 +1,11 @@
# Example for outputting CSV in non-batch mode.
#
# Output File:
# testcases/semicolon.csv
#
# Input:
# impression,flagname=F5,host=1cbbb3796fc2,key=12345,platform=Java,sdkver=4.9.1,value=false count_sum=5i 1653643420000000000
# expression,flagname=E42,host=klaus,key=67890,platform=Golang,sdkver=1.18.3,value=true count_sum=42i 1653646789000000000
csv_separator = ";"
csv_header = true

View file

@ -0,0 +1,3 @@
timestamp;measurement;flagname;host;key;platform;sdkver;value;count_sum
1653643420;impression;F5;1cbbb3796fc2;12345;Java;4.9.1;false;5
1653646789;expression;E42;klaus;67890;Golang;1.18.3;true;42
1 timestamp measurement flagname host key platform sdkver value count_sum
2 1653643420 impression F5 1cbbb3796fc2 12345 Java 4.9.1 false 5
3 1653646789 expression E42 klaus 67890 Golang 1.18.3 true 42