Releases: test-in-prod/carbonator
v2.0 - Carbonator (beta2)
This release contains a hotfix for broken functionality when sending metrics to influxdb and additional logging (mostly debug level).
v2.0 status
This v2.0 build is considered stable, although it has not had a great exposure in production yet. Please submit an Issue if you see something funky.
Breaking Changes
<graphite>
element removed- Introduced
<output>
element which allows switching between graphite and influxdb vianame
attribute- Due to complexity with how paths are handled in graphite vs. how metrics are submitted in influxdb, only one template format would be supported
- Changed
path
attribute in<counters/add>
totemplate
(semantics) - The template differs between influxdb and graphite. Graphite templates work just like in v1, however, v2 templates work as a prefix in their line protocol.
- (e.g.
<add template="disk-space,host=%HOST%,env=prod,disk=%COUNTER_INSTANCE%" ...>
results indisk-space,host=MY-PC,env =prod,disk =C: C:=1132578 1473354688679524608
written to influxdb)
- Introduced
- Removed legacy configuration options
- Default log output is log4net (carbonator.log file in program's directory)
- Increased metric buffers
- Removed support for lower-case host name (%host% variable)
New Stuff
v2 introduces support for sending metrics to influxdb via HTTP POST. It is configured via <output>
entry:
<add name="myinfluxdb" type="influxdb" postingUrl="http://localhost:8086/write?db=mydb" />
As described above, the template=
attribute becomes a prefix format for influxdb metric line.
Carbonator will then use counter's instance name (e.g. "C:" in case of a Logical Disk), or "value" if instance name is empty and supply that value.
Example data transmitted for performance counters:
- Category=
LogicalDisk
Counter=% Free Space
Instance=.+
(regex)- Configuration:
<add template="disk-space,host=%HOST%,env=prod,disk=%COUNTER_INSTANCE%" category="LogicalDisk" counter="% Free Space" instance=".+" />
- On-the-wire
disk-space,host=MY-PC,env=prod,disk=C: C:=222123123 1473354688679524608
- Configuration:
- Category=
Memory
Counter=Available Bytes
Instance=[empty]- Configuration:
<add template="memory_avail,host=%HOST%,env=prod" category="Memory" counter="Available Bytes" instance="" />
- On-the-wire:
memory_avail,host=MY-PC,env=prod value=1123123123 1473354688679524608
- Configuration:
v1.6
v1.5 - Carbonator
- Added ability to use ALL system environment variables in configurable metric paths (PR #4)
- Lowercase
%host%
in metric path (PR #8) - Added
%DOMAIN
path variable which replaces with computer's A/D domain or machine name (if not joined to a domain) (Iss #6) - CounterWatcher class that handles initializing/reporting on counters (decouple from CarbonatorInstance) - e9c7250
- Use either system Event Log or log4net for logging
- Deprecated
logLevel
configuration setting - Ability to load instance performance counters based on a regular expression (e.g. a wildcard) (Iss #5)
- Removed collector interval auto-adjustment based on feedback in #3