newts logging when compared to rrdstrategy messages

Description

When logging is set to DEBUG, you see log entries like:

2016-07-19 16:32:41,607 DEBUG [NewtsWriter-Consumer-5] o.o.n.n.NewtsWriter: Successfully inserted samples for resources with ids snmp:8089:dskIndex:tmp:net-snmp-disk 2016-07-19 16:32:41,632 DEBUG [NewtsWriter-Consumer-5] o.o.n.n.NewtsWriter: Inserting 4 samples 2016-07-19 16:32:41,606 DEBUG [NewtsWriter-Consumer-0] o.o.n.n.NewtsWriter: Indexing 1 samples 2016-07-19 16:32:41,635 DEBUG [NewtsWriter-Consumer-0] o.o.n.n.NewtsWriter: Successfully inserted samples for resources with ids snmp:8089:dskIndex:tmp

I think it would help to remove the "Inserting/Indexing X samples" messages and add those counts to the success lines.

Additionally, RrdUtils would log an entry like:

2016-07-19 16:00:00,213 INFO [Collectd-Thread-199-of-300] RrdUtils: updateRRD: updating RRD file /opt/opennms/share/rrd/snmp/2798/mib2-icmp.jrb with values '1468962000:0:0:0:0:11559:0:11559:0:0:0:0:0:0:0:0:29:11448:2:0:11479:0:0:0:0:0:0'

It would be nice to have NewtsWriter do the same.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Details

Assignee

Reporter

Labels

Priority

PagerDuty

Created July 19, 2016 at 5:44 PM
Updated September 21, 2021 at 9:14 PM

Flag notifications