-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtelegraf_local_results.conf
55 lines (47 loc) · 1.44 KB
/
telegraf_local_results.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Configuration for telegraf agent
[agent]
## Default data collection interval for all inputs
interval = "10s"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "0s"
flush_interval = "10s"
flush_jitter = "0s"
precision = "ms"
hostname = ""
omit_hostname = true
# Configuration for sending metrics to InfluxDB
[[outputs.influxdb]]
urls = ["http://localhost:8086"]
database = "local"
username = ""
password = ""
# Stream a log file, like the tail -f command
[[inputs.tail]]
files = ["/opt/gatling/bin/logs/test_results.log"]
from_beginning = false
pipe = false
watch_method = "poll"
data_format = "csv"
csv_header_row_count = 0
csv_column_names = ["time", "simulation", "request_name", "response_time", "method", "status", "status_code", "user_id"]
csv_delimiter = "\t"
csv_tag_columns = ["request_name", "user_id"]
csv_timestamp_column = "time"
csv_timestamp_format = "unix_ms"
csv_measurement_column = "simulation"
tagexclude = ["path"]
[[inputs.tail]]
files = ["/opt/gatling/bin/logs/users.log"]
from_beginning = false
pipe = false
watch_method = "poll"
data_format = "csv"
csv_header_row_count = 0
csv_column_names = ["time", "measurement_name", "active", "waiting", "done", "user_count"]
csv_delimiter = "\t"
csv_timestamp_column = "time"
csv_timestamp_format = "unix_ms"
csv_measurement_column = "measurement_name"
tagexclude = ["path"]