Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
flame-clmc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flame
flame-clmc
Commits
fc5f7ce0
Commit
fc5f7ce0
authored
7 years ago
by
MJB
Browse files
Options
Downloads
Patches
Plain Diff
updated streaming test run.sh to remove jmeter, added cpu, mem and net inputs to telegraf
parent
df09a94d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/services/apache/telegraf_template.conf
+61
-0
61 additions, 0 deletions
test/services/apache/telegraf_template.conf
test/streaming/run.sh
+8
-7
8 additions, 7 deletions
test/streaming/run.sh
with
69 additions
and
7 deletions
test/services/apache/telegraf_template.conf
+
61
−
0
View file @
fc5f7ce0
...
...
@@ -95,6 +95,67 @@
###############################################################################
# INPUTS #
###############################################################################
# # Read metrics about network interface usage
[[
inputs
.
net
]]
# ## By default, telegraf gathers stats from any up interface (excluding loopback)
# ## Setting interfaces will tell it to gather these explicit interfaces,
# ## regardless of status.
# ##
# # interfaces = ["eth0"]
# Read metrics about cpu usage
[[
inputs
.
cpu
]]
## Whether to report per-cpu stats or not
percpu
=
true
## Whether to report total system cpu stats or not
totalcpu
=
true
## If true, collect raw CPU time metrics.
collect_cpu_time
=
false
## If true, compute and report the sum of all non-idle CPU states.
#report_active = false
# Read metrics about disk usage by mount point
[[
inputs
.
disk
]]
## By default, telegraf gather stats for all mountpoints.
## Setting mountpoints will restrict the stats to the specified mountpoints.
# mount_points = ["/"]
## Ignore some mountpoints by filesystem type. For example (dev)tmpfs (usually
## present on /run, /var/run, /dev/shm or /dev).
ignore_fs
= [
"tmpfs"
,
"devtmpfs"
,
"devfs"
]
# Read metrics about disk IO by device
[[
inputs
.
diskio
]]
## By default, telegraf will gather stats for all devices including
## disk partitions.
## Setting devices will restrict the stats to the specified devices.
# devices = ["sda", "sdb"]
## Uncomment the following line if you need disk serial numbers.
# skip_serial_number = false
#
## On systems which support it, device metadata can be added in the form of
## tags.
## Currently only Linux is supported via udev properties. You can view
## available properties for a device by running:
## 'udevadm info -q property -n /dev/sda'
# device_tags = ["ID_FS_TYPE", "ID_FS_USAGE"]
#
## Using the same metadata source as device_tags, you can also customize the
## name of the device via templates.
## The 'name_templates' parameter is a list of templates to try and apply to
## the device. The template may contain variables in the form of '$PROPERTY' or
## '${PROPERTY}'. The first template which does not contain any variables not
## present for the device is used as the device name tag.
## The typical use case is for LVM volumes, to get the VG/LV name instead of
## the near-meaningless DM-0 name.
# name_templates = ["$ID_FS_LABEL","$DM_VG_NAME/$DM_LV_NAME"]
# Read metrics about memory usage
[[
inputs
.
mem
]]
# no configuration
# # Influx HTTP write listener
[[
inputs
.
http_listener
]]
## Address and port to host HTTP listener on
...
...
This diff is collapsed.
Click to expand it.
test/streaming/run.sh
+
8
−
7
View file @
fc5f7ce0
...
...
@@ -34,15 +34,16 @@ mkdir -p "$testdir"
# run testplan
cd
$testdir
jmeter
-n
-LDEBUG
-t
/vagrant/test/streaming/testplan.jmx
-l
results.jtx
-j
jmeter.log
#
jmeter -n -LDEBUG -t /vagrant/test/streaming/testplan.jmx -l results.jtx -j jmeter.log
# quick bash equivalent in case Jmeter fails
#COUNTER=0
#while [ $COUNTER -lt 1 ]; do
# cvlc -Vdummy --no-audio http://192.168.50.11/test_video/stream.mpd &
# sleep 1
# let COUNTER=COUNTER+1
#done
COUNTER
=
0
MAX
=
10
while
[
$COUNTER
-lt
$MAX
]
;
do
cvlc
-Vdummy
--no-audio
http://192.168.50.11/test_video/stream.mpd &>/tmp/stdout
$COUNTER
&
sleep
1
let
COUNTER
=
COUNTER+1
done
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment