Commit Graph

28 Commits

Author SHA1 Message Date
alrex aa60edff16
rename DoubleSum -> Sum (#3583)
* rename DoubleSum -> Sum

* update changelog

* revert pict changes
2021-07-12 15:21:51 -07:00
Bogdan Drutu c63d0c68cd
Move pdata in the new package (#3483)
The new module go.opentelemetry.io/collector/model will be created later when the internal data will
also be moved.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-06-25 01:17:31 +03:00
Bogdan Drutu 0a8a1dce58
Cleanup usage of TimestampUnixNanos and its API (#2549)
Updates https://github.com/open-telemetry/opentelemetry-collector/issues/2488

Important Changes:

* Rename pdata.TimestampUnixNanos to pdata.Timestamp
* Remove pdata.TimestampUnixNanos and helpers, move them of the pdata.Timestamp type.
* Fix bug around IsZero, this function should return true if the time is January 1, year 1, 00:00:00 UTC not epoch.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-02-25 09:19:16 -08:00
Akash Suresh c5f2b25eec
hostmetricsreceiver (disk): Refactor to use metric metadata (#2406) 2021-01-29 09:44:15 -08:00
James Bebbington 2b25f1154d
Add disk/weighted_io_time (Linux only) (#2312) 2021-01-03 13:25:50 -08:00
James Bebbington 36c22b9722
Rename host metrics according to metrics spec (#2311) 2020-12-21 14:17:36 -08:00
Bogdan Drutu 7874cd5faa
Remove usage of custom init/stop in scraper and use start/shutdown from component (#2193)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-23 14:00:42 -05:00
James Bebbington f4e4382d0e
Fix host metrics disk tests (#2047) 2020-10-31 17:45:12 -07:00
James Bebbington 5414c55694
Update host metrics receiver to use receiverhelper (#1949) 2020-10-31 17:44:26 -07:00
James Bebbington d5a870559c
Report both system.disk.io_time (wall clock) & system.disk.operation_time (#1887)
* Report both disk io_time & disk operation_time

* Fix hostmetrics receiver test
2020-10-19 08:20:12 -07:00
James Bebbington 40544e74ea
Update hostmetrics disk scraper to use new perfcounters package (#1836) 2020-09-28 15:23:12 -07:00
Bogdan Drutu fc777257b2
Change host metrics receiver to use the new metrics internal structs (#1682)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-08-31 10:23:41 -07:00
Bogdan Drutu 42ac0eeafc
Move previous internal metrics package to dataold (#1658)
Need to re-generate the new internal metrics, but it is too much code to change,
so will move this to dataold (was internal anyway, so no public breaking change).

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-08-27 20:19:39 -07:00
Jay Camp 1e65674799
Update copyright (#1597)
* Update copyright

* rebase
2020-08-19 18:25:44 -07:00
James Bebbington 07791f617b
Host scrapers: Use same scrape time for all data points coming from same source (#1473) 2020-08-06 09:34:14 -07:00
James Bebbington 403aa76fd1
Add disk.pending_operations metric (#1428) 2020-07-27 12:45:07 -07:00
James Bebbington 008aa47f2c
Scrape system.disk.time on Windows (#1408)
* Add more metrics to disk scraper for Windows

* Remove disk avg operation time descriptor since this can be derived from delta(disk.time) / delta(disk.ops)
2020-07-23 15:17:01 -07:00
James Bebbington 6297c1a27c
Add device filter for disk scraper (#1378) 2020-07-16 18:20:02 -07:00
James Bebbington 7eee24f95d
Switch to using perf counters to get disk io metrics on Windows (#1340) 2020-07-15 14:40:28 -07:00
James Bebbington fd27134ae2
Correctly set boot time based to nano-second value (#1341) 2020-07-14 11:40:30 -07:00
James Bebbington 541edde63b
Added disk merged metric for Linux & updated tests (#1267) 2020-07-07 17:34:18 -07:00
James Bebbington add8f61d15
Rename host metrics to more consistent names based on the recently merged otep, and update function names accordingly (#1261) 2020-07-06 20:10:51 -07:00
Bruno Garcia 8aa2731844
Remove year from copyright (#964) 2020-05-26 12:44:22 -04:00
Bogdan Drutu a637b41c22
Change entire repo to use the new vanityurl go.opentelemetry.io/collector (#977)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-15 12:04:05 -07:00
James Bebbington 66d7acdc5a
Simplify the host metrics ticker logic (#952)
* Optimise the host metrics ticker logic by having one ticker per set of scrapers that use the same collection interval, and update tests

* Removed the ability to configure different collection intervals for different scrapers within the host metrics receiver & added documentation to note that the same effect can be achieved by configuring multiple receivers

* Change the Host Metrics scrapers from "ScrapeAndAppend" to "Scrape" and do the appending in the receiver instead
2020-05-13 21:08:45 -07:00
James Bebbington 185b4edda9
Rename host metrics disk scraper receive/transmit labels to read/write (#943) 2020-05-10 07:51:38 -07:00
James Bebbington 51a6efdb40
Renamed host metrics scraper Close function to Shutdown (#924) 2020-05-07 06:38:26 -07:00
James Bebbington 1da3156dce
Initial commit of host metrics disk scraper (#921) 2020-05-06 21:30:11 -07:00