Skip to content
Snippets Groups Projects
  1. Aug 31, 2016
    • Butitsnotme's avatar
      Added option to remove all CRs from input stream · 4886109d
      Butitsnotme authored
      Added the option removecr to inputs.exec to remove all carraige returns
      (CR, ASCII 0x0D, Unicode codepoint \u0D, ^M). The option is boolean and
      not enabled if not present in the config file.
      
      closes #1606
      
      Updated CHANGELOG.md with information about removecr
      
      Ran go fmt ./...
      
      Moved removal of CRs to internal/internal.go
      
      Moved the code to remove carriage returns from
      plugins/inputs/exec/exec.go to internal/internal.go. Additionally
      changed the conditional on which it gets applied from using a
      configuration file option to checking if it is running on Windows.
      
      Moved Carriage Return check to correct place
      
      Moved the carriage return removal back to the exec plugin. Added unit
      testing for it. Fixed a bug (removing too many characters).
      
      Ran go fmt ./...
      
      Reverted CHANGELOG to master
      
      Updated Changelog
      4886109d
    • Cameron Sparr's avatar
      Move CloudWatch rate limit to config (#1673) · 2dc47285
      Cameron Sparr authored
      * Move CloudWatch rate limit to config
      Reference #1670
      
      * make that variable a string
      
      * ahem, apparently limiter wants an int
      
      * add the ratelimit to the sample config
      
      * update the test to include the rate
      
      * set a default value of 10 for ratelimit
      
      * Move default ratelimit to init
      2dc47285
    • Eric's avatar
      OpenTSDB HTTP output · 6e33a6d6
      Eric authored
      closes #1539
      
      First version of http put working
      
      Refactored code to separate http handling from opentsdb module. Added batching support.
      
      Fixed tag cleaning in http output and refactored telnet output.
      
      Removed useless struct.
      
      Fixed current unittest and added a new one.
      
      Added benchmark test to test json serialization. Made sure http client would reuse connection.
      
      Ran go fmt on opentsdb sources.
      
      Updated README file
      
      Removed useHttp in favor of parsing host string to determine the right API to use for sending metrics. Also renamed BatchSize to HttpBatchSize to better convey that it is only used when using Http API.
      
      Updated changelog
      
      Fixed format issues.
      
      Removed TagSet type to make it more explicit.
      
      Fixed unittest after removing TagSet type.
      
      Revert "Updated changelog"
      
      This reverts commit 24dba5520008d876b5a8d266c34a53e8805cc5f5.
      
      Added PR under 1.1 release.
      
      add missing redis metrics
      
      This makes sure that all redis metrics are present without having to use a hard-coded list of what metrics to pull in.
      6e33a6d6
    • Cameron Sparr's avatar
      add missing redis metrics (#1689) · a8f9eb23
      Cameron Sparr authored
      This makes sure that all redis metrics are present without having to use a hard-coded list of what metrics to pull in.
      a8f9eb23
    • Patrick Hemmer's avatar
      add missing redis metrics · 41a5ee65
      Patrick Hemmer authored
      This makes sure that all redis metrics are present without having to use a hard-coded list of what metrics to pull in.
      41a5ee65
  2. Aug 30, 2016
    • Nathan Haneysmith's avatar
      Move default ratelimit to init · 7d8de4b8
      Nathan Haneysmith authored
      7d8de4b8
    • Cameron Sparr's avatar
      Fix changelog for #1650 · cc2b53ab
      Cameron Sparr authored
      cc2b53ab
    • Yaser Alraddadi's avatar
      httpjson: support configurable response_timeout (#1651) · 32aa1cc8
      Yaser Alraddadi authored
      * httpjson: support configurable response_timeout
      
      * make default ResponseTimeout in init
      
      * Update CHANGELOG.md
      32aa1cc8
    • Simon Murray's avatar
      Ceph Cluster Performance Input Plugin · 38d87716
      Simon Murray authored
      The existing ceph input plugin only has access to the local admin daemon socket
      on the local host, and as such has access to a limited subset of data.  This
      extends the plugin to use CLI commands to get access to the full spread of Ceph
      data.  This patch collects global OSD map and IO statistics, PG state and per pool
      IO and utilization statistics.
      
      closes #1513
      38d87716
    • Cameron Sparr's avatar
      Changelog update · 5c5984bf
      Cameron Sparr authored
      5c5984bf
    • tuier's avatar
      Some improvment in mesos input plugin, (#1572) · 30cdc31a
      tuier authored
      * Some improvment in mesos input plugin,
           Removing uneeded statistics prefix for task's metric,
           Adding framework id tags into each task's metric,
           Adding state (leader/follower) tags to master's metric,
           Make sure the slave's metrics are tags with slave
      
      * typo, replacing cpus_total with elected to determine leader
      
      * Remove remaining statistics_ from sample
      
      * using timestamp from mesos as metric timestamp
      
      * change mesos-tasks to mesos_tasks, measurement
      
      * change measurement name in test
      
      * Replace follower by standby
      30cdc31a
    • Cameron Sparr's avatar
      fix changelog #1607 · 602a36e2
      Cameron Sparr authored
      602a36e2
    • Joel "The Merciless" Meador's avatar
      [Instrumental] Underscore metric name output (#1607) · b863ee1d
      Joel "The Merciless" Meador authored
      * separate hello and authenticate functions, force connection close at end of write cycle so we don't hold open idle connections, which has the benefit of mostly removing the chance of getting hopelessly connection lost
      
      * update changelog, though this will need to be updated again to merge into telegraf master
      
      * bump instrumental agent version
      
      * fix test to deal with better better connect/reconnect logic and changed ident & auth handshake
      
      * Update CHANGELOG.md
      
      correct URL from instrumental fork to origin and put the change in the correct part of the file
      
      * go fmt
      
      * Split out Instrumental tests for invalid metric and value.
      
      * Ensure nothing remains on the wire after final test.
      
      * Force valid metric names by replacing invalid parts with underscores.
      
      * Multiple invalid characters being joined into a single udnerscore.
      
      * Adjust comment to what happens.
      
      * undo split hello and auth commands, to reduce roundtrips
      
      * Split out Instrumental tests for invalid metric and value.
      
      * Ensure nothing remains on the wire after final test.
      
      * Force valid metric names by replacing invalid parts with underscores.
      
      * Multiple invalid characters being joined into a single udnerscore.
      
      * add an entry to CHANGELOG for easy merging upstream
      
      * go fmt variable alignment
      
      * remove some bugfixes from changelog which now more properly are in a different section.
      
      * remove headers and whitespace should should have been removed with the last commit
      b863ee1d
  3. Aug 29, 2016
  4. Aug 26, 2016
  5. Aug 24, 2016
  6. Aug 22, 2016
  7. Aug 17, 2016
  8. Aug 16, 2016
  9. Aug 11, 2016
  10. Aug 10, 2016
  11. Aug 09, 2016
    • Rene Zbinden's avatar
      remove cgo dependeny with forking sensors command · 1989a585
      Rene Zbinden authored
      closes #1414
      closes #649
      1989a585
    • Cameron Sparr's avatar
      If win stat buffer is empty, do not try to index · abcd1949
      Cameron Sparr authored
      closes #1425
      abcd1949
    • tuier's avatar
      Source improvement for librato output (#1416) · e457b7a8
      tuier authored
      * Source improvement for librato output
      
      Build the source from the list of tag instead of a configuration specified
      single tag
      
      Graphite Serializer:
      * make buildTags public
      * make sure not to use empty tags
      
      Librato output:
      * Improve Error handling for librato API base on error or debug flag
      * Send Metric per Batch (max 300)
      * use Graphite BuildTag function to generate source
      
      The change is made that it should be retro compatible
      
      Metric sample:
      server=127.0.0.1 port=80 state=leader env=test
      measurement.metric_name value
      service_n.metric_x
      
      Metric before with source tags set as "server":
      source=127.0.0.1
      test.80.127_0_0_1.leader.measurement.metric_name
      test.80.127_0_0_1.leader.service_n.metric_x
      
      Metric now:
      source=test.80.127.0.0.1.leader
      measurement.metric_name
      service_n.metric_x
      
      As you can see the source in the "new" version is much more precise
      That way when filter (only from source) you can filter by env or any other tags
      
      * Using template to specify which tagsusing for source, default concat all
      tags
      
      * revert change in graphite serializer
      
      * better documentation, change default for template
      
      * fmt
      
      * test passing with new host as default tags
      
      * use host tag in api integration test
      
      * Limit 80 char per line, change resolution to be a int in the sample
      
      * fmt
      
      * remove resolution, doc for template
      
      * fmt
      e457b7a8
    • Mariusz Brzeski's avatar
      Fix problem with metrics when ping return Destination net unreachable ( windows ) (#1561) · 3853d0d0
      Mariusz Brzeski authored
      * Fix problem with metrics when ping return Destination net unreachable
      Add test case TestUnreachablePingGather
      Add percent_reply_loss
      Fix some other tests
      
      * Add errors measurment
      
      * fir problem with ping reply "TTL expired in transit" ( use regex for more specific condition - TTL in line but it's a not valid replay )
      add test case for "TTL expired in transit" - TestTTLExpiredPingGather
      3853d0d0
Loading