Commit Graph

2955 Commits

Author SHA1 Message Date
Paweł Szulik
f37bc5d647 Use perf attributes from unix lib.
Signed-off-by: Paweł Szulik <pawel.szulik@intel.com>
2020-09-11 09:12:37 +02:00
David Ashpole
6eda0c4509
Merge pull request #2646 from IzabellaRaulin/add_wget
Fixed https proxy issue by installing 'full' wget in Docker alpine-based build stage
2020-09-10 19:50:24 -07:00
David Ashpole
b1f68d4979
Merge pull request #2665 from nicktming/fix/add-stop
add clean operation when watchForNewContainers/Start failed
2020-09-10 17:09:10 -07:00
David Ashpole
7676a45f53
Merge pull request #2578 from Creatone/creatone/perf-grouping
Add perf event grouping.
2020-09-10 17:00:47 -07:00
David Ashpole
2de847a691
Merge pull request #2669 from dashpole/release-docs
Update release documentation and process
2020-09-10 11:49:05 -07:00
David Ashpole
6fd4cd9494 update release documentation 2020-09-10 11:40:37 -07:00
Paweł Szulik
54ac1577a1 Add perf event grouping.
Signed-off-by: Paweł Szulik <pawel.szulik@intel.com>
2020-09-10 11:52:01 +02:00
nicktming
9f8a060cc3 add clean operation when watchForNewContainers/Start failed 2020-09-08 11:59:51 +08:00
David Ashpole
ccefbf8b03
Merge pull request #2659 from dashpole/fix_processes
Fix ordering of processes table
2020-09-03 12:11:44 -07:00
David Ashpole
b6a007af6f fix ordering of processes table 2020-09-03 11:50:55 -07:00
David Ashpole
e3f3ee1b83
Merge pull request #2655 from dashpole/readme_link
Update readme to point to discuss.kubernetes.io
2020-08-31 17:01:49 -07:00
David Ashpole
c157f9c8f0 update readme to point to discuss.kubernetes.io 2020-08-31 13:57:06 -07:00
Izabella Raulin
c3549ef606 Fixed https proxy issue by installing 'full' wget in alpine-based build stage 2020-08-20 14:23:15 +02:00
David Ashpole
7ec518001e
Merge pull request #1924 from tianshapjq/add-hugepages-to-attributes
add hugepages info to attributes
2020-08-17 09:10:28 -07:00
David Ashpole
65e04ecab4
Merge pull request #2611 from katarzyna-z/kk_aggregate_perf
Aggregate perf metrics
2020-08-17 08:52:51 -07:00
Katarzyna Kujawa
538a6d5c01 Aggregate perf metrics
Add documentation about core perf events aggregation

Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-08-17 12:35:18 +02:00
David Ashpole
888dc21343
Merge pull request #2639 from katarzyna-z/kk_perf_helpful_logs
Add logs and simplify setup of raw perf events
2020-08-13 12:25:15 -07:00
David Ashpole
dfe2477569
Merge pull request #2590 from dhoppe/dhoppe-patch-1
Use current Docker registry
2020-08-13 12:12:07 -07:00
David Ashpole
90f391fddf
Merge pull request #2621 from katarzyna-z/kk-memory-numa-stats
Memory numa stats
2020-08-13 11:40:46 -07:00
Katarzyna Kujawa
9906af8f73 Add logs informing about incorrect configuration for perf events
Simplify setup of raw perf events

Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-08-13 09:06:09 +02:00
David Ashpole
a6e4fcbfea
Merge pull request #2632 from iwankgb/readPerf_zeros
Handling zeros in readPerfStat
2020-08-03 12:46:44 -07:00
David Ashpole
492345af20
Merge pull request #2627 from flyinprogrammer/fix_gchart_loader
use Google Charts loader and not jsapi
2020-07-29 09:05:14 -07:00
Maciej "Iwan" Iwanowski
1a91759c6f
Fixing formatting issues that golangci-lint has not detectged 2020-07-28 16:18:01 +02:00
Maciej "Iwan" Iwanowski
f84c910f94
Adding missing import 2020-07-28 16:05:52 +02:00
Maciej "Iwan" Iwanowski
fa98ce18bb
Merge remote-tracking branch 'origin/master' into readPerf_zeros 2020-07-28 16:04:23 +02:00
Maciej "Iwan" Iwanowski
999cd2c9f1
Adding extra test case 2020-07-28 16:04:16 +02:00
Maciej "Iwan" Iwanowski
149d6b7927
Adding scaling fixes to uncore metrics 2020-07-28 16:03:41 +02:00
David Ashpole
33463ad221
Merge pull request #2631 from Creatone/make-test-go-flags
Add entry for libpfm related tests to Makefile
2020-07-27 09:48:41 -07:00
Paweł Szulik
f8d9926c49 Add entry for libpfm related tests to Makefile 2020-07-27 17:00:50 +02:00
Katarzyna Kujawa
6cb346ecf9 Remove redundant numa stat - total count
Improve help text for prometheus metric

Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-07-27 15:39:51 +02:00
Maciej "Iwan" Iwanowski
eac76442f2
Fixing number of liner errors in libpfm-related files 2020-07-26 22:25:40 +02:00
Maciej "Iwan" Iwanowski
b6cbdf6bcb
Handling zeros in readPerfStat
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@critical.today>
2020-07-26 22:21:06 +02:00
Alan Scherger
ddaf1cbe5f use Google Charts loader and not jsapi 2020-07-21 14:49:35 -05:00
Katarzyna Kujawa
2fc95742f3 Memory numa stats
Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-07-17 12:12:25 +02:00
David Ashpole
50b23f4ed9
Merge pull request #2618 from dims/update-to-containerd-v1.4.0-beta.2
Update to containerd v1.4.0-beta.2 and runc v1.0.0-rc91
2020-07-16 08:39:52 -07:00
Davanum Srinivas
b567b6ad1a
Update to containerd v1.4.0-beta.2
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-07-15 17:02:49 -04:00
David Ashpole
65fa5b44d3
Merge pull request #2613 from dashpole/changelog-v0.37.0
changelog for v0.37.0
2020-07-07 17:22:28 -07:00
David Ashpole
4163b9759d changelog for v0.37.0 2020-07-07 17:12:38 -07:00
David Ashpole
7fe71443dc
Merge pull request #2607 from katarzyna-z/kk-fix-metrics-list
Improve information about metrics
2020-07-07 09:14:54 -07:00
David Ashpole
0587e3d173
Merge pull request #2603 from dqminh/prometheus-on-demand
Allow on-demand metrics collection for prometheus
2020-07-06 11:03:00 -07:00
David Ashpole
9ec2495af9
Merge pull request #2610 from iwankgb/golangci-lint-upgrade
Upgrading golangci-lint to 1.28.0
2020-07-06 08:30:20 -07:00
Maciej "Iwan" Iwanowski
8ba056c4df
Upgrading golangci-lint to 1.28.0
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@critical.today>
2020-07-04 23:33:50 +02:00
Daniel Dao
20e306ab03
Allow on-demand metrics collection for prometheus
This allows user to set v2.RequestOptions for PrometheusCollector to be
used when retrieving container stats. As prometheus collector API doesnt
allow us to pass customized option per collection, we create a new
collector per metrics request. The approach is also seen in
node_exporter (https://github.com/prometheus/node_exporter#filtering-enabled-collectors)

One can design the on-demand metrics collection as such to minimize CPU
usage in housekeeping routine:

- assuming prometheus scrape interval is 60s
- increase housekeeping interval to a high value such as 300s
- set max_age paramether in scrape to a low value ( such as 1s ), so
that if we scrape just as housekeeping finish, we don't do any extra
work. When we scrape, if current metrics are older than 1s, we will
collect the metrics again.

Signed-off-by: Daniel Dao <dqminh89@gmail.com>
2020-07-01 17:31:26 +01:00
David Ashpole
59f894acbd
Merge pull request #2605 from nightah/update-prom-client-golang
Update prometheus/client_golang to v1.7.1
2020-06-30 10:01:40 -07:00
Katarzyna Kujawa
2b023c6d02 Add information about build flags required for metrics
Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-06-30 10:17:43 +02:00
Katarzyna Kujawa
9b44e0bd71 Corrected information about perf metrics
Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-06-30 09:11:08 +02:00
Amir Zarrinkafsh
f68797e965
Update prometheus/client_golang to v1.7.1 2020-06-30 10:10:06 +10:00
David Ashpole
e26cd1220e
Merge pull request #2601 from katarzyna-z/kk-libpfm4-config
Add information about configuring perf events using libpfm4
2020-06-26 14:08:33 -07:00
David Ashpole
c4f167a6ec
Merge pull request #2598 from Creatone/creatone/disable-metrics-docs
Add "-disable_metrics" column to prometheus metrics table.
2020-06-26 14:07:52 -07:00
Katarzyna Kujawa
0c017c2102 Add information about configuring perf events using libpfm4
Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-06-26 14:46:16 +02:00