Skip to content

Commit e7e1129

Browse files
Update VMWatch binary/config with latest
1 parent 7ce2f7f commit e7e1129

File tree

2 files changed

+28
-13
lines changed

2 files changed

+28
-13
lines changed

integration-test/env/Extension/bin/VMWatch/vmwatch.conf

100755100644
Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
## Each plugin will sleep for a random time within jitter before collecting.
3636
## This can be used to avoid many plugins querying things like sysfs at the
3737
## same time, which can have a measurable effect on the system.
38-
collection_jitter = "0s"
38+
collection_jitter = "20s"
3939

4040
## Collection offset is used to shift the collection by the given amount.
4141
## This can be be used to avoid many plugins querying constraint devices
@@ -71,11 +71,11 @@
7171
## Log target controls the destination for logs and can be one of "file",
7272
## "stderr" or, on Windows, "eventlog". When set to "file", the output file
7373
## is determined by the "logfile" setting.
74-
# logtarget = "file"
74+
logtarget = "file"
7575

7676
## Name of the file to be logged to when using the "file" logtarget. If set to
7777
## the empty string then logs are written to stderr.
78-
# logfile = ""
78+
logfile = "${VERBOSE_LOG_FILE_FULL_PATH:-}"
7979

8080
## The logfile will be rotated after the time interval specified. When set
8181
## to 0 no time based rotation is performed. Logs are rotated only when
@@ -84,11 +84,11 @@
8484

8585
## The logfile will be rotated when it becomes larger than the specified
8686
## size. When set to 0 no size based rotation is performed.
87-
# logfile_rotation_max_size = "0MB"
87+
logfile_rotation_max_size = "4MB"
8888

8989
## Maximum number of rotated archives to keep, any older logs are deleted.
9090
## If set to -1, no archives are removed.
91-
# logfile_rotation_max_archives = 5
91+
logfile_rotation_max_archives = 5
9292

9393
## Pick a timezone to use when logging or type 'local' for local time.
9494
## Example: America/Chicago
@@ -111,23 +111,37 @@
111111
# statefile = ""
112112

113113
[[inputs.outbound_connectivity]]
114-
urls = []
115-
timeout_in_seconds = 30
114+
interval = "${OUTBOUND_CONNECTIVITY_INTERVAL:-180s}"
115+
urls = "${OUTBOUND_CONNECTIVITY_URLS:-}"
116+
timeout_in_milliseconds = ${OUTBOUND_CONNECTIVITY_TIMEOUT_IN_MILLISECONDS:-30000}
116117

117118
[[inputs.disk_io]]
118-
drives = []
119+
interval = "${DISK_IO_INTERVAL:-180s}"
120+
drives = "${DISK_IO_DRIVES:-}"
121+
fileName = "${DISK_IO_FILENAME:-}"
119122

120123
[[inputs.simple]]
121-
ok = true
122-
interval = "10s"
124+
interval = "${SIMPLE_INTERVAL:-10s}"
125+
ok = ${SIMPLE_OK:-true}
126+
127+
[[inputs.az_storage_blob]]
128+
interval = "${AZ_STORAGE_BLOB_INTERVAL:-180s}"
129+
storage_account_name = "${AZ_STORAGE_ACCOUNT_NAME:-xstoreverifier}"
130+
container_name = "${AZ_STORAGE_CONTAINER_NAME:-xstoreverifier}"
131+
blob_name = "${AZ_BLOB_NAME:-VMAAgentTestBlobNew.txt}"
132+
sas_token_base64 = "${AZ_STORAGE_SAS_TOKEN_BASE64:-c3A9ciZzdD0yMDIxLTA4LTAyVDIwOjEyOjExWiZzZT0yMDk5LTA4LTAzVDA0OjEyOjExWiZzcHI9aHR0cHMmc3Y9MjAyMC0wOC0wNCZzcj1iJnNpZz10aXBBUjV0dXN6N044N1IxWGpra1M4bWlrUHZma3RHMmtVZWo3MmRCVDdFJTNE}"
133+
134+
[[inputs.clockskew]]
135+
interval = "${CLOCK_SKEW_INTERVAL:-180s}"
136+
ntp_server = "${CLOCK_SKEW_NTP_SERVER:-time.windows.com}"
137+
time_skew_threshold_in_seconds = ${CLOCK_SKEW_TIME_SKEW_THRESHOLD_IN_SECONDS:-5.0}
123138

124139
# Send telegraf metrics to file(s)
125140
[[outputs.file]]
126141
flush_interval = "30s"
127142
## Files to write to, "stdout" is a specially handled file.
128-
#folder = "/Users/mizhe/tmporary"
129-
#folder = "stdout"
130-
folder = "/var/log/azure/Microsoft.ManagedServices.ApplicationHealthLinux/events"
143+
# folder = "/Users/mizhe/tmporary"
144+
folder = "${SIGNAL_FOLDER:-stdout}"
131145

132146
## Use batch serialization format instead of line based delimiting. The
133147
## batch format allows for the production of non line based output formats and
@@ -148,6 +162,7 @@
148162
## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md
149163
data_format = "json"
150164
json_timestamp_format = "2006-01-02T15:04:05Z07:00"
165+
json_nested_fields_include = ["RuntimeParameters"]
151166
json_transformation = '''
152167
metrics.$merge([{"Timestamp": timestamp, "Message": $string(fields)}, tags])
153168
'''
2.01 MB
Binary file not shown.

0 commit comments

Comments
 (0)