forked from performancecopilot/pcp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG
3679 lines (3519 loc) · 197 KB
/
CHANGELOG
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
pcp-4.1.2 (14 September 2018)
- Work in progress (https://pcp.io/roadmap)
pcp-4.1.1 (3 August 2018)
- Log rotation, management scripts, compression and server-side utilities:
- pmlogconf: add some GFS2 metrics for automated pmlogconf setups
- pmlogger: output write re-ordering to aid log tailing
- pmlogger_daily: add -R (and .NeedRewrite) support
- pmlogrewrite: initial support for rewriting label records
- pmcd: fix subtle bug in agent shutdown code (affecting pmdabcc)
- Client tools and utilities:
- pcp2spark: export PCP metrics to Apache Spark
- pcp2influxdb: fix mishandling of zero-valued metrics
- pcp-dstat: support for PCP archive replay
- pcp-dstat: use context to get hostname for terminal title
- pcp-dstat: use more python-version portable set comprehensions
- pcp-dstat: recreate the original --version output using PCP metrics
- pcp-dstat: fixes to the disk plugin configurations
- pcp-pidstat: add direct support for the timezone options
- mmvdump: support for the version 3 format (metric labels)
- dbpmda: various Windows-driven changes
- pmcpp: Windows fix for \r in the input text
- PMDA additions, enhancements and bug fixes:
- pmdaproc: tweak proc.memory.maps to return empty string for kernel workers
- pmdakvm: new, configurable, perf_event-based kvm.trace metrics
- pmdakvm: switch from perl to C implementation, enable by default
- pmdammv: support for exporting metric labels (v3 format)
- pmdaproc: rework code to handle much larger /proc/pid/stat files
- pmdaproc: improve proc.psinfo.environ for processes with no environment
- pmdabcc: profile module
- pmdabcc: compat wrapper for get_kprobe_functions
- pmdabcc tcptop: log current number of connections
- pmdabcc: add pmStore support
- pmdabcc: add exectop module
- pmdabcc: use newer kprobe with ext4dist if available
- pmdabcc: tcpretrans module added
- pmdabcc: biotop tool - fetches block device I/O activity and sorts it
- pmdabcc: rename biotop to bioperpid
- pmdabcc: restore old tcplife module as tcpperpid
- pmdawindows: process.thread.process_id metric removed (since Windows10)
- pmdagfs2: additional Glock and Glock Holder metrics
- libpcp, libpcp_pmda, libpcp_web and other libraries
- libpcp_mmv: new APIs, registry-based setup, labels support
- python pmdas: improve scaling; release GIL while waiting for new PDUs
- pmconfig.py: handle predicate metrics being filtered out
- libpcp: fork+exec and pipe+fork+exec changes for Windows
- libpcp_web: initial cluster support to Redis commands
- derived metrics: avoid divide by zero exceptions in iostat.conf
- SElinux:
- selinux: add gpsd context rules allowing shm access via associate, getattr
- selinux: add init_t shm rule for accessing via unix_read
- selinux: policy improvements for the GFS2 PMDA
- selinux: policy improvements for the Redis PMDA
- Misc build, infrastructure and packaging updates:
- build: many changes for the Windows platform, towards a new installer
- build: changes to support completely reproducible builds
- build: series of changes to support MacOSX brew package builds
- build: do not assume gcc is used for building Qt binaries
- Documentation and QA infrastructure:
- docs: pmrep and pcp2xxx container option man page correction
- docs: updates to the pcp-dstat(1) man page for archives
- docs: updates to the MacOSX build and install instructions
- docs: updates to the Windows build and install instructions
pcp-4.1.0 (15 June 2018)
- Log rotation, management scripts, compression and utilities:
- pmlogger_daily_report: use unambiguous time window arguments
- pmlogger_check: pass command line options to pmlogger_daily
- pmlogger_daily: make SaveLogs name match /var/log/pcp/pmlogger name
- pmlogger_daily: compress .meta files
- pmlogger_daily: send -V diags to stderr
- pmlogger_check & pmnewlog: add optional SaveLogs support
- pmlogger_check: clear any zero-length pmlogger configs
- pmlogger_merge: fix corner cases, esp for compressed archives
- pmnewlog: honour any /etc/sysconfig/pmlogger settings
- pmdumplog: changes to handle compressed archives
- pmlogrewrite: support reassociation with other metric or indom
- pmlogrewrite: support changing and deleting text records.
- pmlogrewrite: add -S (check and status) option
- pmlogrewrite: Allow newline in updated help text.
- pmlogger: fix for trashed temporal index after infant mortality
- pmmgr: handle compressed .meta and/or .index files in cleanup stanzas
- pmafm: teach mkaf and pmafm about compressed archives
- pmlogcheck: extend unexpected EOF diagnostic message
- pcp-dstat - (new) reimplementation of dstat(1) using PCP APIs:
- zsh completion: dstat help output tweak to aid zsh completion
- pcp-dstat: add interrupts and several other new conf files
- pcp-dstat: improvements to dynamic instance handling
- pcp-dstat: initial QA, python2 compat fixups, enable in build
- pcp-dstat: update to use updated pmconfig interface name
- pcp-dstat: improved config labels and metrics with instances
- pcp-dstat: add fs freespace and redis plugins, update TODO
- pcp-dstat: add utmp plugin config, now the kernel metrics exist
- pcp-dstat: initial version of dstat using PMAPI services
- Client tools and utilities:
- pmrep: add config entries for emulated collectl reports
- pmrep: ensure output column ordering consistency
- pcp.sh: provide alternative if realpath(1) not available
- pcp.sh: use full path to pmgetopt in case PATH not set (Mac)
- pcp.sh: add a handy developer mode to the pcp(1) frontend
- pmval: plug small memleaks
- pmnsutil: small code cleanup for static code checkers
- pmcpp: ensure va_end is called for static code checkers
- pmie: ensure we do not use an uninitialised path variable
- pmie: handle -l- correctly for logging to stderr
- pmprobe: support batching for name lookups and fetching
- pmprobe: add bash and zsh completions for -b
- pcp2xlsx: add missing test chunk, use correct out file
- pcp2xlsx: switch from using xlsxwriter to openpyxl
- libpcp and libpcp_pmda:
- libpcp: logutil.c, check for botched temporal index
- pmParseTimeWindow(): fix double-free error
- libpcp_pmda: clean namespace, attribute and flags interfaces
- pmda.py: support for logfile and helptext file in PMDA __init__
- libpcp: pmOpenLog() support logging to existing stream
- libpcp: fix handling of labels with an empty string value
- libpcp: labels.c, handle different domainname() result
- libpcp_pmda: mainloop.c, add debug diags in __pmdaMainPDU()
- libpcp_web:
- libpcp_web: add pmDiscover API for asynchronous PCP data export
- libpcp_web: integrate libuv and async event handling
- libpcp_web: simplify error handling using a common helper
- libpcp_web: properly set redis blocking/non-blocking
- libpcp_web: first steps towards Redis cluster support
- pmseries: properly implement the redisMap mapping type
- pmseries: initial support for cluster node map extraction
- pmseries: small cleanups on early cluster code review
- selinux:
- selinux: update comments, additional script robustness changes
- selinux: abstract spec file bits into an installed script
- PMDA additions, enhancements and bug fixes:
- pmdadm: fix segfault and memleak in dmstats
- pmdalinux: add aggregate interrupt and softirq counters
- pmdalinux: nfs server metric semantic fix pmlogrewrite rules
- pmdalinux: fix af_unix conn stats same as udp/tcp earlier
- pmdalinux: udp, raw and unix domain connection metrics
- pmdalinux: code simplification, cleanup in /proc/locks code
- pmdalinux: add vfs.locks.posix, flock and lease metrics
- pmdalinux: add kernel.all.nsessions and nroot users metrics
- pmdaprometheus: support the -l logname and -d domain options
- pmdaprometheus: fix scripted configs, broken after label filtering
- correct semantics for proc_fs_nfsd.th_cnt and proc_fs_nfsd.pool_cnt
- pmdammv: resolve an instance domain setup problem
- pmdaproc: add the per-process proc.psinfo.oom_score metric
- pmdasample: fix emerging gcc warnings
- zbxpcp: fix path to auto-enable zbxpcp module for zabbix_agentd
- zbxpcp: fixes, perf improvement for zabbix agent module
- NetBSD and OpenBSD PMDAs: fix for returning a buffer on the stack
- FreeBSD PMDA: add some metrics
- activemq PMDA: hide this PMDA's perl modules behind PCP::
- configure.ac: activemq PMDA needs JSON Perl module as well
- pmdabcc: tcplife: recycle instances - use row number as instance key
- pmdabcc: fix tcplife dport, styling
- pmdabcc: tcplife: track sessions independently, add more metrics
- pmdabcc: configurable failure modes for module errors
- pmdabcc: explain process filtering in the pmdabcc(1) man page
- pmdabcc: disable ext4dist per default, add xfsdist and zfsdist
- pmdabcc: disable "Too many instance attributes" pylint warning
- pmdabcc: rename runqlat metric name
- pmdabcc: order histogram instances ascending
- pmdabcc: move ext4dist metric under bcc.fs name space
- pmdabcc: add ext4dist, zfsdist and xfsdist modules
- pmdabcc: add USDT JVM threads and allocation profile modules
- pmdabcc: print generated/modified BPF program if debug enabled
- pmdabcc: implement process/port filtering in tcplife
- pmdabcc: match process name on /proc/$PID/comm
- pmdabcc: add process filtering in tracepoint/uprobe modules
- pmdabcc: fix tcplife with older/newer kernel/bcc
- pmdabcc: add USDT/dtrace hit count BPF/Python module
- pmdabcc: add pid check/filter helpers, relax process check
- pmdabcc: introduce reserved ranges in bcc.conf
- pmdabcc: README and man page updates
- pmdabcc: add example hit count module configuration files
- pmdabcc: add uprobe hit count BPF/Python module
- pmdabcc: require kernel 4.6+ for QA
- pmdabcc: add config file / process helpers
- pmdabcc: add kernel tracepoint hit count BPF/Python module
- pmdabcc: clean up bcc.conf comments
- pmdabcc: add label support
- pmdabcc: always create the first bucket inst for histograms
- pmdabcc: don't create instances for empty buckets at top end
- pmdabcc: add runqlat tool
- Misc build, infrastructure and packaging updates:
- build: Add conditional clause around disable_python2
- build: resolve ENODATA re-define warning on latest Win32 headers
- build: fine-tune libpcp cross-compiler make settings for Windows
- build: remove procfs checks entirely in configure now
- build: add pmieconf static binary cross-compile check
- build: support Windows native build
- build: remove pcp.conf dependency from selinux-setup script
- build: fix pcp-export-pcp2xlsx dependencies
- build: rpm spec file updates related to python, pmrep and dstat
- build: add some more platforms into the bintray scripts
- build: switch travis-build coverity notifications to pcp list
- build: add automated coverity checking to travis builds
- build: update travis to use fedora:latest container over f27
- build: add new bcc config files to the installed set
- build: add configure and builddefs support for libuv
- build: add Makepkgs --configure option to stop after configure
- build: fix /var/run/pcp ownership in fedora spec file
- build: fix license text warnings from specfile check tools
- build: add missing shebang lines else latest rpmbuild fails
- build: include python3-bpfcc as a dependency for debian
- build: update check-statics for Mac OS X clang brew builds
- formatting strings: %I64i used instead of %lld
- build: switch from http to https for pcp.io src references
- build: fix rpm spec deps, update to https for pcp.io
- build: fix yet another multilib header regression
- build: fix typo in rpm spec file for smart pmda deps
- build: add more platforms to bintray-version script
- coverity: possible buffer overrun, use strncpy() instead of strcpy()
- coverity: plug a memleak on a socket func error path in libpcp
- coverity: plug a memleak on a labelset pointer in libpcp
- coverity: plug memleak on socket func diagnostic in libpcp
- coverity: fix memleak on error path in libpcp_qmc update
- coverity: fix use of freed stream in libpcp_pmda diagnostic
- coverity: fix out-of-scope local buffer use in libpcp units.c
- coverity: fix memleaks during testing for localhost
- coverity: fix unconditional uses of null name in new context
- coverity: do not use stderr after freopen on stderr failure
- coverity: fix lookup labels api error path memleak
- coverity: fix getopt time window parse error path memleak
- Documentation and QA infrastructure:
- check-archives: rework for expected/different marking of log files
- check-archives: fsck for a forest of PCP archives
- __pmparsectime.3: clarify syntax for string argument (date formats)
- docs: update remaining pcp.io references to https
- docs: add release and coverity links to README.md
- man/html/portability-and-qa.html: First real version
- docs: add the CII best practices badge to README.md
- docs: switch HACKING to markdown, add a security section
- man/html/portability-and-qa.html: portability issues related to QA
- docs: initial version of the pcp-dstat(1) manual page
- docs: switch http to https for various pcp.io references
- qa/admin/pcp-daily: really enforce the BAD policy this time
- qa/admin/pcp-qa-summary: find and report tests tagged BAD
- qa/group: add missing python ones, introduce BAD group
- qa/sniff4dodgey: (new) script looking for dodgey tests
pcp-4.0.2 (11 May 2018)
- log rotation, management scripts, compression and utilities
- pmie_{check,daily}: rework .prev and -N handling
- pmlogger_{check,daily}: rework .prev and -N handling
- pmlogger_daily: add -p to poll if cronjob was missed
- pmlogger_daily: set default xz options for 10MB blocks
- client tools and utilities:
- pcp-pidstat: add new process state tracking feature
- pmlogconf: update zeroconf config for pidstat metrics
- pmrep, pcp2xxx: use new improved long-option-only method
- pmrep: fix metricsets :mpstat and :mpstat-P-ALL metric definitions
- pcp2zabbix: fix issues from low-level-discovery feature
- pcp-atop: remove the long-deprecated pmatop symlink
- pmstat: fix bogus warning in local context fallback mode
- pminfo: cleanup instance name and instance label caching
- sar2pcp: updates for recent versions of sysstat
- zbxpcp: ensure errmsg accompanies SYSINFO_RET_FAIL returns
- shell completion: update pcp2zabbix lld arg handling
- add low-level-discovery support to pcp2zabbix
- pcp-zeroconf: zero configuration package for support environments
- pmlogconf: update zeroconf config for pidstat metrics
- PMDA additions, enhancements and bug fixes
- pmdaprometheus: add support for label filtering in URL configs
- pmdaprometheus: set PMNS_CHANGED flag more aggressively
- pmdaprometheus: perf improvement - add a compiled regex cache
- pmdaprometheus: perf improvement - avoid re-parsing config URLs
- pmdaprometheus: perf - avoid formatting debug messages if !dbg
- pmdaprometheus: fix fetch and parse time counters
- pmdaprometheus: scalability improvements, multi-threaded http get
- pmdadm: avoid segfaults if there are no dmstats regions
- pmdadm: Fix memory leak in dmstats.c
- pmdalinux: remove cdrom from disk indom
- pmdalinux: support vfs.aio metrics from /proc/sys/fs files
- pmdaproc: fix issue with container identification
- pcp-pmda-libvirt: fix rpm packaging
- pmdacifs update to support stats V2
- pmdaroot, pmdaproc: rework Docker container name heuristics
- pmdabcc: start in the "notready" state to avoid startup timeouts
- pmdanfsclient: convert from perl to python, add newer 4.2 ops
- pmdasmart: new PMDA to extract metrics from smartmontools package
- pmwebd and pmmgr
- pmwebd: Restore logic for rolling over to a new volume.
- pmwebd: Handle compressed .meta and archive volume files.
- selinux
- selinux: add fsetid cap to pcp_pmlogger_t
- pmda.smart/selinux: fix fsadm_exec_t rules
- selinux: pmlogger should be allowed the fowner cap for itself
- selinux: rhbz1565158 ipc.sem metrics
- selinux: RHBZ1565158 allow semaphore reads for mozilla_plugin_t
- selinux: rhbz1547066 Add several AVCs caught in testing
- Build: add pcp-selinux req - libsemanage
- selinux: rhbz1558708 add further policy for pmdagluster
- libpcp and libpcp_pmda
- libpcp: provide a fetchgroup reset interface
- libpcp: add OpenIndiana fix to allow pmcd connection TCP
- libpcp_fault: track exports changes over in libpcp
- libpcp: change ld VERSION file manipulation
- libpcp: Implement new archive I/O API functions.
- libpcp, pmcd: resolve an endian issue in labels protocol
- libpcp: decompression: Correctly detect fully specified archives
- libpcp: detect and handle corrupted labelset metadata in archives
- libpcp: harden labels dup routine when handed bad/missing data
- libpcp: make pmSemStr and pmTypeStr thread-safe
- Misc build, infrastructure and packaging updates
- coverity: fix memleaks, useless variable settings, off-by-ones
- coverity: fix error handling on PMDA attribute interface
- build: couple more linker tweaks for Windows builds
- build: addition for chown/chmod post install actions
- build: require coreutils (fileutils is gone)
- packaging: ensure $PCP_SA_DIR ends up with correct mode and ownership
- build: update check-statics for libpcp macosx builds
- assorted: fix compilation warnings from OpenIndiana
- configure: yet another attempt to get fmt_int64 correct
- debian/rules: pass -v down from dh_shlibdeps to dpkg-shlibdeps
- debian/pcp-export-zabbix-agent.install: add missing files
- build: add conditionals for Requires: libsemanage
- build: pid_t ... it may not be the same type as int
- build: add an explicit sans font dependency for pmwebd
- build: resolve compilation warnings with recent gcc versions
- travis: print all logs to stdout at the end of the build
- build, qa: force default locale when grepping English words
- build: Pass CFLAGS, CXXFLAGS, LDFLAGS down to qmake builds.
- fedora.spec: libvirt needs python2-lxml on rhel
- fedora.spec: python2-libvirt is for fedora >= 27
- packaging: correctly package zbxpcp.conf file
- build: improve Zabbix server integration out-of-the-box
- Documentation
- docs: add pcp-pidstat(1)
- docs: add pmClearFetchGroup(3)
- docs: document ipc_prot and notready in various man pages
- books: delete support for xmlto and dblatex in book toolchain
pcp-4.0.1 (29 March 2018)
- log rotation, management scripts, compression and utilities
- pmlogger scripts: enable immediate daily compression by default
- pmlogmv.sh: learn how to handle compressed files
- pmlogger_daily: change default behaviour for compression
- pmlogger_merge.sh: handle compressed archives
- pmlogger_check.sh: add pmlogger_daily -K callback
- pmlogger: control: add $PCP_COMPRESSAFTER=3
- pmlogger: crontab: drop pmlogger_daily command line arguments
- pmlogsize: (new) report sizes for components of an archive
- pmlogsize: add support for data volume, summary and -d (detailed)
- pmdumplog: fix sigsegv causing intermittent qa failures
- pmlogrewrite: Indirect updates to label set and help text records.
- pcp-zeroconf: zero configuration package for support environments
- add pmlogger_daily_report(1) cron script like sa2(1) to pcp-zeroconf
- add pcp-doc and pcp-system-tools to pcp-zeroconf dependencies
- improved and more frequent daily archive compression (see above)
- pmrep:
- pmrep: add sar -n TCP -n ETCP config
- pmrep: add units to labels in :sar-n-TCP-ETCP pmrep config
- pmrep: use standard column width by default with separate header
- pmrep: add config to display page migration stats on NUMA machines
- pmrep.conf: add initial sar -n NFS/NFSD metric sets (NFSv4 too)
- pmdaprometheus: PMDA to ingest metrics from prometheus end-points
- pmdaprometheus: start in the "notready" state, for scalable startup
- pmdaprometheus: URL config support for HTTP GET / request headers
- pmdaprometheus: URL config support for metric filters in responses
- pmdaprometheus: add prometheus.control.debug metric (storable)
- pmdapostgresql: supporting PostgreSQL v9.6 (with plans for 10.x)
- pmdapostgresql: fixes and verification to support postgresql v9.6.x
- pmdapostgresql: attempt to switch uids only if running as root
- pmdapostgresql: automatically reconnect if DB connection is lost
- pmdapostgresql: update audit script, prep for v10.3.1 support
- misc PMDAs: Linux, Proc, KVM, Pipe, rsyslog, BCC
- pmdalinux: add per-block-device capacity metrics
- pmdalinux: report CD/DVD devices correctly, not as partitions
- pmdaproc: additional kernel process states (parked, trace stopped)
- pmdarsyslog: improved diagnostics
- BCC PMDA: biotop: ignore (but log) unnamed devices
- BCC PMDA: prepare for upcoming BCC breaking API change
- pmwebd and pmmgr
- pmmgr: remove pmmgr k8s discovery code, use libpcp discovery instead
- pmwebd: support for etag headers
- pmwebd: improve graphite archive-cache performance w.r.t. syscalls
- build: house pmwebd in a subdir named consistently with rest of PCP
- selinux
- selinux: add numad_t rules
- selinux: update for variety of avc denials
- selinux: fix avc denials uncovered from pmdabcc
- selinux: add rules for pmdagluster
- libpcp and libpcp_pmda
- libpcp: fix fetchgroup vs derivedmetric instance profile issues
- libpcp: fix segv in archive help text fallback handling
- libpcp: add pmconfig reporting of transparent decompression
- libpcp: Fix false EOF return by xz_getc().
- libpcp: io: be more careful with rewind, rework __pmFseek
- libpcp: add compress_suffix_list for pmconfig -L
- libpcp: general shell discovery mechanism, Kubernetes pod support
- libpcp: pmcd: add a 'machineid' label at context level
- libpcp: add command=CMD option to shell discovery mechanism
- libpcp: handle DSO and pmcd domain labels consistently
- libpcp: correct the fetchgroup handling of counter wrap
- libpcp: rewind temp file after decompression
- libpcp: fix return codes for pmTraversePMNS
- libpcp: fix semantics of sum() for derived metrics
- libpcp: add external symbols from win32.c
- libpcp: switch pmGetConfig API to using setenv for valgrind
- libpcp: remove temp file underneath pmprintf() et al
- libpcp_pmda: add pmdaSendError(3), with python bindings
- Misc build, infrastructure and packaging updates
- Debian: enable daemons, manager enabling semantics, improved systemd
- build: test pmda.bcc group by travis ci, integrate Travis CI
- Debian packaging: make deb-systemd-helper use conditional
- Debian/pcp.postinst.tail: improved access modes for /etc/pcp/nssdb
- build: add base sans font for pmchart on headless machine
- build: add 'sds' package for more efficient string handling
- build: fix deb bash/json/mmv PMDA tmpdirs permissions
- build: add pcp-conf and pcp-libs packages for CI, needed explicitly
- build: spec updates for pcp-zeroconf and /etc/pcp/discover
- build: fix Debian install after derived metric config moved
- build: house pmwebd in a subdir named consistently with rest of PCP
- build: add proc derived metric config into pcp-libs package
- build: fix configure script qmake vs QT_RELEASE corner case
- configure: changes for Windows build, fix mingw warnings
- pmdaproc.sh: bugfix for ipc_prot="binary notready" in Install
- pmdaproc.sh: fix temp file leakage
- Documentation
- Readme.osx updated for packagemaker
- man: document the pmlogger_daily_report -l and -V options
- document the pmlogger_daily -k and -x interaction
- add pmdaSendError(3) man page to pcp-doc package
pcp-4.0.0 (16 February 2018)
- Support metric labels as first class PCP metadata
- libpcp: over-the-wire protocol support for labels
- libpcp: store metric labels in archives
- dbpmda: new commands for exercising metric labels
- pmdaproc: add proc.* and cgroup.* metric labels
- pmdalinux: add disk, CPU, NUMA node and other labels
- pmdapmcd: add pmcd.labels metric (/etc/pcp/labels)
- pmdaprometheus: add support for Prometheus labels
- pmcd: support label PDUs between clients and PMDAs
- pminfo: add new -l/--labels option
- pmlogger: support storing labels in archives
- pmdumplog: support for dumping labels in archives
- pmlogextract: support for labels in input archives
- pmlogrewrite: support for changing labels in archives
- libpcp_pmda: support for metric label PDUs
- libpcp_pmda: new pmdaLabel(3), pmdaSetLabelCallBack(3) APIs
- docs: upate pmlogger on-disk format docs for labels
- libpcp: store metric help text in archives for pmLookupText(3)
- PMAPI and PMDA API refactoring, promotion and deprecation
- libpcp: pmapi.h, impl.h, libpcp.h header refactoring
- libpcp: several impl.h data structures made internal
- libpcp: several impl.h interfaces cleaned, documented and
promoted into new PMAPI routines - e.g. pmGetProgname(3),
pmSetProgname(3), pmID_build(3), pmInDom_build(3),
pmOpenLog(3), pmGetAPIConfig(3), pmNoMem(3), pmSyslog(3),
pmNotifyErr(3), pmPrintStamp(3), pmPathSeparator(3),
pmGetUsername(3), pmSpecLocalPMDA(3).
- libpcp: hide details of pmlc/pmlogger communication
- libpcp: hide all internal PDU and PDUbuf details
- Asynchronous notification of metric name changes
- libpcp: fetch protocol support for async name changes
- pmlogger: dynamic reevaluation of metric name changes
- libpcp_pmda: support for PMDAs with dynamic name changes
- docs: describe async name change protocol on pmFetch(3)
- pmdadm: add new VDO (virtual data optimizer) metrics
- pmdabcc: new PMDA exporting BCC/eBPF trace instrumentation
- pmdaproc: fix issue with resolving ttynames below /dev
- pmdaproc: add proc.id.container metric based on cgroups
- pmdaproc: add new cgroup.*.id.container metrics
- pmdalinux: additional /proc/vmstat pgscan, pgsteal metrics
- pmdalinux: fix scanf format for /proc/net/if_inet6
- pmdalinux: tty.serial metrics use tty number as indom instance
- pmdalinux: add kernel.all.pid_max metric from /proc/sys/kernel
- pmdalinux: add wireless and name type network interface metrics
- pmdalinux: additional NUMA migration metrics from /proc/vmstat
- pmdasolaris: update for ZFS snapshot API changes
- pmdaprometheus: improvements to auto-configuration
- pmdaprometheus: metadata inference tweaks
- pmdaprometheus: rework instance-name prefixing
- pmdaprometheus: add support for scripted configuation
- pmdabash: install a default directory with secure permissions
- pmdajson: install a default directory with secure permissions
- pmdammv: install a default directory with secure permissions
- pmdalibvirt: correctly restore previously persisted indoms
- pmdahaproxy: correctly restore previously persisted indoms
- pmdadocker: document PCP_DOCKER_DIR variable
- pmrep/pcp2xxx: clarify instances reported by default
- pmrep/pcp2xxx: introduce per-metric precision support
- pmrep/pcp2xxx: multiple derived metrics specs on command line
- pmrep/pcp2xxx: properly validate config file options
- pmrep/pcp2xxx: add force scaling/formatting options
- pmrep/pcp2xxx: add live filtering support
- pmrep/pcp2xxx: add support ranking, inverse filtering, predicates
- pmrep/pcp2xxx: add support for limit filtering
- pmrep: add support for overall ranking
- pmrep: add support for dynamic headers
- pmrep: make -g/--separate-header compatible with -X/--colxrow
- pmrep: pmdumptext -X/--extended alike output
- pmrep: do not force raw values with CSV output
- pmrep: avoid repeated pmi calls in write_archive
- pmrep: better delimiter handling
- pmrep: sar-y, sar-n-SOCK, numa-hint-faults configs in pmrep.conf
- pmrep: fix archive output dir access check
- pmrep: record discrete values to archive only when changed
- pcp2json: -E/--exact-types option for increased output control
- pmjson: new helper utility for json formatting
- iostat2pcp: support yet more incompatible changes to iostat
- pmstore: add -F/--fetch option to provide accurate new value
- pmdumplog: increase precision of timestamp output
- pmdumplog: support for dumping metric help text in archives
- pmlogger: avoid multiple metadata records for same indom and timestamp
- pmlogextract: change <mark> strategy if prologue + epilogue available
- pmlogconf: ensure values present before enabling apache group
- pmlogconf: ensure values present before enabling nfsclient group
- pmlogconf: additional kernel metrics for pmlogconf
- pmlogconf: added storage group for pmlogconf with VDO metrics
- pcp-atop: add Docker support, updates to upstream atop-2.3.0 code
- pcp-atopsar: improve robustness with missing data
- pcp-mpstat: fix typo in method call found by pylint
- pcp-summary: fix incorrect use of -O/--offset/$PCP_ORIGIN
- pmchart: fix uninitialized memory use in status bar
- pmchart: several improvements to the BusyCPU script
- desktop: new icon images for pmchart and pmtime applications
- libpcp: support transparent on-demand archive decompression
- libpcp: provide -O/--offset heuristics for local archives
- libpcp: fix non-standard space units handling
- python pmconfig: handle option priorities correctly
- python pmcc: add MetricGroupManager.checkMissingMetrics
- python api: use correct tm_gmtoff type in pmMktime call
- selinux: numerous corrections to policy files
- zshrc: series of updates for latest command arguments
- zshrc: recognize .xz compressed archive file names
- zshrc: don't complete unavailable derived metrics
- bashrc: series of updates for latest command arguments
- PMDA Install: removed "monitor, server or both" prompts
- build: update debian builds to quilt-based format
- build: fix Qt5 build dependency injection
- build: fix debian binary-indep packaging
- build: fix debian python package dependencies
- build: enable systemd in debian packages
- build: configure.ac and related fixes for Solaris builds
- build: numerous Windows portability fixes
- build: remove config transition mechanism for ancient releases
- build: get python basics going in Windows cross-comiles
- build: selinux - directly test existance of semodule -X option
- build: selinux - update policy package on upgrade
- build: rpm - move to explicit python2/python3 deps
- build: rpm - python->python2 naming, obsolete python-foo packaging
- series of small code improvements found by Coverity
- series of small code improvements found by cppcheck
- docs: start documenting long options on PCPIntro(1) and others
- docs: add some power user examples to pmrep(1)
pcp-3.12.2 (18 October 2017)
- dm pmda: fix memory corruption from a double free
- linux pmda: add mem.vmstat.pgsteal_* metrics
- haproxy pmda: warn, not error, on missing socket
- haproxy pmda: add url connection support
- libvirt pmda: more resiliency for missing domains with mem stats
- perfevent pmda: fix missing dynamic events scenario
- prometheus pmda: metadata generator handles empty lines and comments
- prometheus pmda: add _sum, _count and _bucket as metric instances
- selinux: add pmlogger_exec_t rule from rhbz1483320
- selinux: remove base pcp requirement for pcp-selinux subrpm
- selinux: update configure checks to work with selinux tools v4.0+
- selinux: RHBZ1447585 pmlc accessing tcp port 4330
- selinux: rhbz1488116 pmnewlog.sh using ps to check pid's for pmloggers
- pcp-atop: add --hotproc option for using hotproc metrics
- pcp2elasticsearch: new utility exporting metrics to ElasticSearch
- pcp2json: new utility exporting metrics in JSON format
- pcp2xlsx: new utility exporting metrics in Excel spreadsheets
- pcp2xml: new utility exporting metrics in XML format
- pcp2zabbix: new utility exporting metrics to Zabbix
- pmchart: make the BusyCPU view work and install it
- pmchart: fix a use-after-free in setSamples
- pmchart: support hicolor icons for GUI apps
- pmlogconf: cull missing groups with -c
- pmlogconf: automatically configure hotproc logging
- pmlogconf: tweak hotproc config and add the atop metrics
- pmlogger: add prologue / epoligue support
- pmmgr: pass -H hostid to pmlogger
- pmrep: add support for new derived metrics syntax
- pmrep: rewrite csv output code
- pmrep: rewrite stdout output code
- pmrep: better metric scaling precision
- pmrep: tweak csv header
- pmrep: allow scaling of raw metrics
- pmrep: better metric type detection
- pmrep: handle dup names
- pmrep: drop zabbix support, added to pcp2zabbix(1)
- pmrep: use the new pmConfig module and the new Python helpers
- pmrep: add daemonization support
- pmrep: use UTC offsets in extended header
- pmrep: protect against transient instances
- pmrep: support sadf(1) compatible CSV output
- pmrep: improve handling of floating point NaN values
- pmview: changes to allow building with either Qt4 or Qt5
- pmwebd adapt graphite font size to image size
- libpcp_web: increase default JSON parser token count
- libpcp: refactor daemonization code for sharing
- libpcp: changes to satisfy reported cppcheck issues
- libpcp: initialise unaligned part of help text buffer
- libpcp: harden interpolate mode up against corrupt archives
- perl api: support indom cache reloading for hash indoms
- python api: handle unicode strings in python2 module as well
- python api: add a pmconfig module and new timezone helper routines
- python api: fix timezone segfault from incorrect free
- python api: timezone helper with non full hours
- python api: fixes to timezone handling
- python api: add daemonize option using libpcp services
- python api: allow long options without a short option
- python api: automatic indom persistence of dict indoms
- python api: annotate the pmsubsys module as "deprecated"
- libpcp: add simple, secure system(2) replacement API
- libpcp: add simple, secure pipe API replacement
- libpcp: derived metric configuration for kernel.cpu.util.*
- libpcp et al: change PCP debugging control infrastructure
- libpcp: add PM_ERR_BADDERIVE code for invalid derived metric specs.
- libpcp: defered derived metrics evaluation performance improvement
- libpcp_web: cleanup memory leaks
- libpcp: add $PCP_IGNORE_MARK_RECORDS support
- libpcp: pmsprintf - a safer [v]snprintf wrapper
- pmcd, pmcd PMDA, libpcp_pmcd: add pmcd.pid and pmcd.seqnum
- pmdaproc.sh: improve domain number and name match checks
- bashrc: fix completions using symlink for all commands
- bashrc: updates for auto-completions for all commands
- zshrc: updates for auto-completions for all commands
- build: update debian builds to default to Qt5 when available
- build: fix numerous compiler warnings on FreeBSD
- build: fix numerous compiler warnings on Windows
- build: switch to Qt5 when building on Windows
- demos: fix pmclient, pmclient_fg archive modes
- docs: add notes to pmdapostgresql(1) re enabling stats
- docs: corrections to pmdadm(1), histogram support
- docs: document $PCP_IGNORE_MARK_RECORDS in pcpintro(1)
pcp-3.12.1 (16 August 2017)
- pmdadm: device mapper stats API (statistics regions) metrics
- pmdahaproxy: new PMDA exporting HAProxy (haproxy.org) metrics
- pmdaperfevent: fix use after free in perf_setup_dynamic_events
- pmdaprometheus: add pmda config metrics and store callback
- pmdaprometheus: periodic metadata refresh of Prometheus endpoints
- pmdaprometheus: auto refresh and reload metadata changes
- pmdaprometheus: reload only added/removed sources on fetch
- pmdaprometheus: add units parsing and fix minor bugs
- pmdaprometheus: fix metadata generator for instances with whitespace
- pmdadarwin: instance domain help text added
- pmdalinux: add nfsd worker thread status values
- pmdanews: fixes to ps(1) command invocation on FreeBSD
- pmdaroot: defensive behaviour for containers lacking a Name
- pmrep: add per process metricsets to default pmrep.conf(5)
- pmrep: exit in check mode after all preparations
- pmie: modified back-off when metrics or hosts unavailable
- pmwebd: add Prometheus metrics exporter endpoint
- pcp-mpstat: gracefully handle the absence of interrupt metrics
- selinux: additional SELinux policy rules for several PMDAs
- libpcp: fix detection of unterminated string in derived metrics
- libpcp: fix ternary expression evaulation bug
- libpcp: tracing facility for PMAPI routine entry/exit
- libpcp: initial file I/O abstraction layer
- libpcp: further multi-threading improvements
- libpcp: only consider addresses with type SOCK_STREAM
- perl api: fixes for PMDA wrapper on FreeBSD
- python api: add refresh_all clusters method for PMDAs
- python api: add the remove_metric function for PMDAs
- build: add perl deps and perl-interpreter into RPM spec files
- build: add log import library pkg-config support
- build: add configury for python OrderedDict module
- build: add missing Debian autopkgtests and debian/watch file
- build: update with RPM systemd macros for service defaults
- build: change RPM location of local mode to %install, f27 onwards
pcp-3.12.0 (30 June 2017)
- pmdaprometheus: new PMDA exporting Prometheus end point metrics
- pmdalinux: deprecate some socket stats, add IPv6 socket stats
- pmdalinux: change some string metrics from instant to discrete
- pmdamysql: additional MySQL slave metrics
- pmdaproc: migrate proc.psinfo.{vsize,rss,rss_lim} to U64
- pmdacifs: drop duplicate makefile installs
- pmdasummary: default to localhost for pmie pmcd connections
- containers: allow clearing a previously set container context
- python api: handle duplicate metric name in PMDA module correctly
- python api: clear the _metric_names_map at appropriate times
- perl api: fix instance domain help text handling for PMDAs
- pcp-pidstat: configurable timestamp formatting (-f option)
- pcp-pidstat: fix traceback at end of archive with -G option
- pcp-numastat: use pmFetchArchive when replaying an archive
- pcp-numastat: fix poor handling of non-tty output
- pcp-atop: fix sigsegv while handling NFS mounts metrics
- pcp-atop: fix rawwriting and bad -T option passed to pmlogger
- pmlogger: allow hostname to be over-ridden on the command line
- pmlogconf: group pmprobe calls together, performance optimisations
- pmlogconf: add proc.psinfo.guest_time to atop-proc for pcp-pidstat
- pmlogconf: add numastat, pidstat and tapestat to zeroconf config
- pmlogconf: add config for pcp-tapestat
- pmlogconf: improve probe used for some optional log configs
- pmieconf: add pmie rule detecting entropy starvation
- pmrep: improve corner case metric name duplicate detection
- pmwebd: add mandatory authentication mode (-C option)
- libpcp: changes to remove client-pmcd socket multiplexing
- libpcp: rework earlier changes to context handle semantics
- libpcp: fix double-close on __pmConnectTo failure
- libpcp: further locking improvements
- libpcp: add buffer length check to pmEventFlagStr_r(3)
- pmprobe: add -F option for further pmlogconf speedups
- pmprobe: fix sigsegv in the presense of bad metric descriptors
- pmlogger rc scripts: small changes cleaning up reports of warnings
- pmie rc scripts: small changes cleaning up reports of warnings
- selinux: policy updates to resolve a pmdabash issue
- selinux: add check for cap_userns class
- bashrc: bash completion updates
- zshrc: zsh completion updates
- build: pkg-config support for libpcp and libpcp_pmda
- build: change how selinux contexts are detected
- build: resolve problems with use of autoreconf
- build: exclude pcp-zeroconf files from base package
- build: take more control over perfevent rpm package builds
- build: honor CFLAGS in qmake project files
- docs: add a JSON demo similar to the existing MMV demo
- docs: add reference to the Rust MMV project as well
- docs: fix couple small typos on pmRegisterDerived man page
- docs: update pmdabash man page for current file paths
- docs: make pmdaproc text match pmwebd re authentication
pcp-3.11.10 (17 May 2017)
- books: add missing images into the pdf builds
- build: selinux module checking
- build: debian build fixes
- build: MAC OS X build fixes
- build: Qt5 now used on all fedora releases
- build: correctly handle LDIRT when building perl modules
- build: create dso variant of pmdasimple
- install: debian install fixes
- install: Add pcp-zeroconf rpm subpackage
- libpcp: multithreaded locking improvements
- libpcp: provide more general features-capabilities mechanism for fds
- libvirt pmda: add new block, perf, vcpu metrics
- man: debian man page migrations
- man: pmlogcheck.1: document new -w option
- pcpqa: ongoing improvements
- pmcd: restore context to pcp_var_run_t after pmcd start
- pmcd: timeout countdown fix, during pmda shutdown phase of exiting
- pmchart: fix reaction to timezone changes from pmtime
- pmdalinux: fix resource leaks in zoneinfo code
- pmdalinux: add Linux kernel entropy metrics
- pmdalinux: several additional mem.zoneinfo metrics
- pmdalinux: correct metadata for hinv.cpu.clock and hinv.cpu.cache
- pmdammv: fix resource leaks on error paths
- pmdaperfevent: fix leaks, incorrect free, dead code
- pminfo: improve formatting with one-line help text error message
- pmmgr: heap management improvements
- pmrep: correctly handle endtime in uninterpolated mode
- pmrep: add support for ignoring (-I) and omitting (-v) metrics
- pmrep: cmd line improvements
- python api: fix memory leaks
- python api: handle non-POSIXLY_CORRECT getopt cases
- selinux: several updates to pcp policy
- stdpmid: reserve a domain number for Prometheus endpoint PMDA
- zsh: Add --nowrap to the completions for pmlogcheck
pcp-3.11.9 (31 March 2017)
- derived metrics: add defined() function
- derived metrics: reduce memory footprint
- derived metrics: add rescale(<expr>, <units-string>) function
- derived metrics: extend count() for fetch errors
- derived metrics: add mkconst() constructor
- derived metrics: add check ? foo : bar (ternary operator)
- derived metrics: add - operator (unary negation)
- derived metrics: add ! operator (boolean negation)
- derived metrics: add support for relational expressions
- derived metrics: support double precision floating point constants
- libpcp: new implementation for derived metric parser
- libpcp: use correct context ID with multiple local contexts
- pcp-tapestat: add a new tape statistics reporting command
- pmchart: fix plot disappearance when legend turned off/on
- pmchart: fix time stamp in metric details window
- pmchart: don't display removed metrics in metric details window
- pmwebd: fix graphite filtering for non-normal floating-point data
- pmdadocker: remove unused buildversion artifacts
- pmdaperfevent: add PMU events exported from kernel
- pmdaperfevent: fix metrics names for the dynamic events
- pmdalinux: convert mem.slabinfo metrics to using pmdaCache
- pmdalinux: fix fd leak on an error path in tape metrics
- pmdalio: drop unneeded pmcd restart from Install script
- selinux: several updates to pcp policy
- selinux: add el6 focused conditional checks
- selinux: separated out docker/container policy
- coverity: series of small code fixes across the board
- build: overhaul the webapps packaging build extensively
- vagrant: first cut at osxSierra base image build via Vagrant
- vagrant: numerous cleanups and refactoring to Vagrantfile
- containers: pcp-go-app standalone Speed-instrumented container
- containers: add pcp-redis instrumented Redis server container
- containers: add pcp-elasticsearch instrumented elasticsearch server
- docs: fix pmParseUnitStr(3) summary section typo
- docs: python updates for https://pypi.python.org/pypi/pcp/1.1
pcp-3.11.8 (17 February 2017)
- pmdabind2: new PMDA for BIND named REST API statistics
- pmdadocker: new PMDA for Docker REST API statistics
- pmdalio: new PMDA for the kernel LIO subsystem (iSCSI, FCP, FCoE)
- pmdanutcracker: new PMDA for NutCracker (TwemCache) metrics
- pmdaredis: new PMDA for redis (REmote DIctionary Service) metrics
- pmdalinux: additional VM metrics for zoneinfo
- pmdalinux: add per-node memory zone protection stats
- pmdalinux: add Linux VM KSM same-page-merging metrics
- pmdalinux: dynamic per-CPU and per-node instance domains
- pmdalinux: export network.interface.baudrate with 64-bit type
- pmdalinux: export byte version of all hugepage metrics
- pmdalinux: add several metrics recently added to /proc/vmstat
- pmdalinux: add support for SCSI tape statistics
- pmdaproc: switch ttyname calculation to iterate through /dev
- selinux: new files and package for setting custom PCP policy
- libpcp_web: support for callback-based JSON metrics extraction
- libpcp: several archive mode instance scan performance improvements
- pmlogger scripts: fix multi-level directory structures
- pcp-atopsar: fix swptotal and swpfree reporting units
- pcp-atop: fix up reporting of the network utilization
- pmval: improve handling of shifting metric instances
- pmns/Rebuild: rebuild PMNS if the root file is empty
- docs: added instance domain help text for several PMDAs
- docs: additional documentation for pmdamysql (MariaDB support)
- docs: clarifications to the Apache2 stats export setup
- docs: update pmdammv man pahe to mention golang bindings
- qt tools: update MacOSX info files keys for highres displays
- perl api: add missing error codes and local_install helper
- python api: add missing error codes
- containers: new pcp-standalone application container layer
- containers: new pcp-nginx container with pmcd & Nginx setup
- containers: new pcp-apache container with pmcd & Apache setup
- containers: new pcp-java-app container with pmcd, Java & Parfait
pcp-3.11.7 (21 December 2016)
- docs: pmLookupText added to PMAPI calls for _metric web API
- build: fix qt4 builds once more, no widgets module there
- build: update parfait and uom-se bits for jdk-1.8 use
- build: couple of small Windows install improvements
- build: conditionally use setuptools python module
- libpcp_web: fix handling of 64-bit values on 32-bit platforms
- libpcp_web: improvements to error checking
- pmdabash: resolve some permissions issues preventing use
- pmdalinux: add metrics about IPC message queues
- pmdalinux: additional semaphore arrays metrics
- pmdalinux: buddyinfo and zoneinfo mem metric updates
- pmdalinux: add zoneinfo NUMA free mem stats
- pmdaxfs: use persistent dm and md device names for xfs.perdev
- pmchart: 'local:' is now the default source
- pmchart run-away mem leak replaying multi-archive when rewinding (RHBZ 1359975)
- pmchart: make metric details popup on double click event only
- pmdumptext: 'local:' is now the default source
- pminfo: allow reverse pmid name lookups, support indoms
- pmlogrewrite: add conditional type clause (TYPE IF oldtype -> newtype)
- pmview: changes to make pmview build with latest toolchains
- qa: lots of fixes and improvements
pcp-3.11.6 (11 November 2016)
- pmchart, pmtime, pmdumptext: enable use of Qt5 toolchain
- pmchart, pmtime: switch to Qwt 6.1 for charts, widgets
- pmchart: display data values interactively (table popup)
- pmchart: fix signal blocking for the Qwt picker events
- pmdalibvirt: add per-device metrics
- pmdalibvirt: add support for new perf metrics
- pmdalibvirt: add new balloon statistics
- pmdalinux: add NFSv4.2 parameters to nfs4.* metric instances
- pmdalinux: additional shared memory segment metrics
- pmdalinux: fix network.interface.speed values
- pmdalinux: correctly classify NBD devices and partitions
- pmdalinux: fix units, semantics for some network.tcp metrics
- pmdapmcd: add pmcd.sighups metric to assist signal detection
- pmdapostgresql: no active and recovery metrics in 8.x series
- pmda scripts: deprecate "forced_restart" from Install scripts
- collectl2pcp: detect if input data in collectls "plot" format
- pmlogger: fix SIGINT handling problem
- pmlogger: allow default primary pmlogger interval to be set
- pmlogconf: suppress $PCP_DERIVED_CONFIG processing
- pmlogrewrite: fix small error in temporal index
- pmrep: add support for specifying instances
- pmrep: improve metrics collection via extend_indom
- pmrep: fixes and other improvements to CSV output
- pmrep: add -X "label" flag for instance-per-line output mode
- pmwebd: fix HTTP time zones in Date:/Last-Modified: headers
- python api: correct type of fetchgroup instance ids
- libpcp: correct logic in __pmHasPMNSFileChanged()
- libpcp: allow -EINTR to be returned from pduread()
- libpcp: correct return code for derive metric help text
- libpcp: optimise DSO lookups for local context mode startup
- libpcp_json: fix JSON data type conversion
- scripts: correct tempfile handling used throughout (SElinux)
- zabbix-agent: support zabbix 3.2.x and later, transparently
- bashrc: defend against unexpected bash completion input
- build: annotate PCP_RUN_DIR as %ghost in rpm packages
- build: fix a handful of Windows build issues
- build: revamp buildbot config and Dockerfile based builds
- docs: switch list name from pcp@oss.sgi.com to pcp@groups.io
pcp-3.11.5 (26 September 2016)
- pmdalibvirt: statistics from guest and hypervisor machines
- dmcache: improved err handling when lvmcache not configured
- pmie: support expressions involving string-valued-metrics
- pmlogger: fix several logic errors in disconnect handling
- pcp-atop: fix SIGFPE when some kernel metrics unavailable
- python api: add errno attribute to pmErr class
- pmdaproc: fix double accounting in the proc.runq metrics
- pmlogconf: add set of default Vector webapp metrics
- libpcp_pmi: close archive in pmi_end, plugging an fd leak
- libpcp: improvements to detection of IPv6 being disabled
- libpcp: small portability fixes from OpenIndiana compilers
- libpcp_pmda: change some char* function args to const char*
- libpcp_web: completely rewo of simple http client library,
shared library now installed and API available for all PMDAs
- libpcp_web: support for Unix domain socket http requests
- libpcp_web: prefer persistent connections whenever possible
- libpcp_web: cater for both http 1.0 and 1.1 client requests
- rc scripts: allow systemd auto-restart of all PCP daemons
- rc scripts: ensure same-named non-PCP daemons are not killed
- cron scripts: ignore *.rpmsave and *.rpmnew from control.d
- zsh completions: minor tweaks, rewrite archive completion
- build: re-instate libsystemd-journal.so as a fallback, such
that pcp-pmda-systemd packages generated as previously done
- build: fix debian papi pmda dependencies
- docs: remove out-of-date section in pmdamounts(1) man page
pcp-3.11.4 (5 August 2016)
- pcp2influxdb: export PCP metrics to InfluxDB
- collectl2pcp: fix metadata and overflow issues
- pcp-mpstat: PCP version of mpstat(1), supporting archives
- pcp-pidstat: PCP version of pidstat(1), supporting archives
- pmdammv: MMV version 2 format (longer metric & instance names)
- pmdalinux: add kernel.percpu.intr count metric
- pmdalinux: add cgroup.cpusched.cfs_{period,quota} metrics
- pmdalinux: correctly handle Ceph RADOS RBD device naming
- pmdalinux: add kernel.percpu.softirqs metrics (/proc/softirqs)
- pmdalinux: filesys metrics use persistent device mapper names
- pmdalinux: persist interrupt and softirq metric name:ID maps
- pmdaproc: rewrite proc.psinfo.ttyname metric handling (this
fix significantly reduces probability of proc PMDA timeouts)
- pmdaproc: correct handling of command names with whitespace
- pmdaproc: include threads in hotproc results, if enabled
- pmdads389log: use "dirsrv" as default user account
- scripts: fix failure status handling in PMDA Install scripts
- pmdaoracle: fix Install script failure diagnostic message
- pmlogger: auto-reconnect to pmcd whenever possible
- pmlogger: fix broken logic for primary control file
- pmlogger: validate metrics before generating MARK records
- pmnewlog: improve checking of pmlogger processes
- pmlogger_check: additional hardening against failure cases
- pmlogconf: enable logging of small core set of XFS metrics
- pmchart: fix diagnostics for archives from the same host
- pmcd: improve robustness in the face of accept(2) errors
- libpcp: guard against accept() returning an AF_UNSPEC
- libpcp: correct __pmSecureClientHandshake() error handling
- libpcp: make pmcd-client protocol safer when timeouts occur
- libpcp_web: a new web library, with JSON-pointer (RFC 6901)
support for extracting values from JSON - see pmjsoninit(3)
- libpcp_pmda: allow string caches to be saved also
- python api: support for containers
- python api: support for local context mode
- python api: interface tm class to struct_time for strftime
- pmrep: improve command line parsing
- pmrep: support configuration file sources
- pmrep: support local context mode
- pmrep: add support for containers
- pmrep: default timezone handling fix
- pmrep: allow sub-second sampling intervals
- pmrep: improve robustness of CSV output
- pmrep: fix unitinfo for mixed type metrics
- pmrep: fix archive end time reporting
- pmrep: cwd, user-specific config, then system-wide config
- pmdiff: rework the sort/join use for portability
- pminfo: increase default batch size
- pmafm: support standard --help option
- pmie: honour SIGINT while parsing rules
- zsh completion: multi-archive support
- zsh completion: support pmafm/pmie2col/pmlogcheck/pmloglabel
- zsh completion: --container improvements
- zsh completion: fix handling of pcp(1) subcommands
- build: ensure man pages are not built if unnecessary
- build: look for libsystemd not deprecated libsystemd-journal
- build: rearrange deb order of depending on python3 modules
- build: add missing python debian package shlib dependencies
- build: remove build-essential packages from debian/control
- build: add to ds389{,log} RPM package dependencies
- build: do not include .gitignore in installed file set
- build: fix declarations for deb graphite export package
- build: create nssdb directory with rpm spec packaging too
- docs: fix pmmgr(1) path typo
- docs: updates to pmrep configuration section
- docs: update pmns(5) domain table to match stdpmid
pcp-3.11.3 (17 June 2016)
- zsh: pcp command auto-completions for the zsh(1) shell
- pcp-ipcs: new command to show inter-process communication
- pmdalinux: add maximum memory bandwidth per numa node metric
- pmdalinux: update max numa bandwidth iff the .config changes
- pmdalinux: add metric about current shared memory segments
- pmdalinux: ipc shared memory swap attempts/successes metrics
- pmdalinux: add MSG_INFO and SEM_INFO ipc metrics
- pmdaproc: fix typo in name of proc.memory.vmhw{n,m} metric
- pmdaproc: switch to external instances without arguments
- libpcp, pmcd, pmproxy: client certificate support for secure
connections and add a PMCD_REQUIRE_CLIENT_CERT option
- libpcp: allow self-signed server certs in secure connections
optionally via PCP_SERVER_SELF_CERT environment variable
- libpcp: correctly propogate indom in mixed derived metrics
- libpcp: allow name of server certificate to be customized
- libpcp: plug memory leak in derived metrics error handling