Commit Graph

154 Commits

Author SHA1 Message Date
Parth Yadav
591b16eb45 Add timestamp support in stdout storage driver
Add Unix Timestamp in nanoseconds to container metrics stats for stdout storage driver
2019-12-20 14:26:30 +05:30
David Ashpole
5879c34819 update gofmt with go1.13 2019-11-18 14:46:12 -08:00
Davanum Srinivas
4da6d809be
Move from glog to klog
Change-Id: Ic92f57c2d7f268d8d985797974883c1a537d6993
2018-11-08 18:06:28 -05:00
Gijs Kunze
9e175e9ea9 Adds mapped_file metric 2018-08-09 15:14:46 +02:00
Marius Buleandra
970f2e54ed Enable kafka logs 2018-04-17 18:04:18 -04:00
Ivan Vlašić
030e82a9f9 Add memory rss to statsd storage 2018-03-20 15:03:22 +01:00
Andy Xie
1ccbe6fdd0 reduce labels for container info 2018-01-12 00:14:01 +08:00
Vincent Daniel
ef0f4d1c61 feat: handling retention policy in influxdb
docs: Adding storage_driver_influxdb_retention_policy flag to the influxdb documentation

fix: using rentention policy variable in test
2017-04-28 21:13:00 +02:00
Andy Xie
1e93f1a412 fix statsd error logging 2017-03-14 10:27:29 +08:00
Tim St. Clair
afe67fec68
Cleanup comment style: // should be proceded by a space 2016-10-07 17:06:02 -07:00
Brent Hughes
e9f8dd31bb Added CPU Usage details to statsd (#1393)
* Added CPU Usage details to statsd

* Fixed bad path to load average

* Fixed some issues with formatting and types. This is now tested

* Updated to make load average follow the same schema as other cpu metrics
2016-08-01 17:01:10 -07:00
Victor Palma
58b26c9d2a add optional TLS client auth to Kafka storage 2016-05-06 15:40:29 -05:00
Tim St. Clair
4c3454ad6f Inline storageDriver usage & fix error message 2016-05-05 17:13:41 -07:00
Tim St. Clair
85d2668128 Clean up -storage_driver flag
Fix storage driver flag to show all the registered drivers as
options. Result:

```
  -storage_driver driver
                  storage driver to use. Data is always cached shortly
                  in memory, this controls where data is pushed besides
                  the local cache. Empty means none. Options are:
                  <empty>, bigquery, elasticsearch, influxdb, kafka,
                  redis, statsd, stdout
```
2016-05-04 19:26:44 -07:00
Antony Woods
a2128c6efa Add labels to tags in influxdb 2016-04-20 09:52:56 +01:00
Allison Richardet
80ba7e7db7 Add the support for kafka in cAdvisor's storage, including output of container id and labels
Addressing PR Feedback

Addressing PR Feedback
2016-01-27 21:33:57 -06:00
Lei Xue
5b7a2fbd45 refactor the function of StatsEq 2016-01-09 09:20:11 +08:00
Lei Xue
23496fdf03 fix compile issue of influxdb test 2016-01-09 09:16:31 +08:00
Vish Kannan
0800e51cbe Merge pull request #1029 from wangzhezhe/master
replace pannic with fmt.Errorf in the error handling of elasticsearch storage
2016-01-08 12:49:37 -08:00
Jimmi Dyson
706a954e66 Rename influxdb field 2016-01-07 17:35:25 +00:00
Jimmi Dyson
05b435e1eb Tidy up conversion type switch 2016-01-07 17:32:33 +00:00
Matthias Nüßler
ada6e3d354 Upgrade InfluxDB storage to InfluxDB 0.9
- Fix #743
- Rewrite InfluxDB storage for new InfluxDB API data structures.
- Store each measurement separately instead of storing all measurements
  in a single big "table" with many columns/fields.
- Use tags add metadata to points, such as the container name. Tags are
  a new feature in InfluxDB 0.9.
2016-01-07 14:32:38 +00:00
wangzhezhe
768aba06cf replace panic with fmt 2016-01-04 13:49:26 +08:00
wangzhezhe
95a6e4e87c replace pannic with fmt.Errorf in elasticsearch storage 2016-01-04 13:15:16 +08:00
Jimmi Dyson
b0ce5720b0 Refactor storage plugins 2015-12-02 08:41:50 +00:00
Lei Xue
dbbe38dfed re-order the import package 2015-11-30 16:43:22 +08:00
Jimmi Dyson
b9ff5c098c Fix up ignored/inefficient assigns (via ineffassign linter) 2015-11-27 22:01:54 +00:00
Jimmi Dyson
b5d8d0c991 Fix imports order 2015-11-27 21:52:29 +00:00
Jimmi Dyson
82810f13cd Remove unused code (via deadcode linter) 2015-11-27 21:48:33 +00:00
Jimmi Dyson
91749aa65f Godep clean up 2015-10-12 12:39:37 +01:00
hacpai
1fc01caa65 Fix issue #881 2015-09-18 00:05:48 +08:00
hacpai
3386114814 🍺 Add support for elasticsearch storage driver 2015-09-08 14:01:35 +08:00
Jose I. Monreal Bailey
3f54f77f9e Removing constant typed string. Handle fmt.Println error 2015-08-14 14:19:23 -03:00
Jose I. Monreal Bailey
6573abf96d Fixing assignment of containerName and adding space between external imports and golibs 2015-08-14 12:12:44 -03:00
Jose I. Monreal Bailey
96a7710a45 Adding new storage driver stdout 2015-08-11 15:39:23 -03:00
Julien Maitrehenry
1e35331848 Update statsd storage - cpu, memory and network done
Add Fs stats to statsd

Update import for pointing to official repository

Update statsd storage for respecting fmt coding style

Create a separate client file

Fix gofmt
2015-07-28 14:55:15 -04:00
anushree-n
e9cc52f5a2 Typo in redis.go 2015-07-13 10:28:55 -07:00
Rohit Jnagal
1a2781819e Separate in-memory cache from storage drivers. 2015-06-02 16:06:01 +00:00
Rohit Jnagal
80fabb3e60 Remove RecentStats() from all storage drivers except memory.
We should probably make memory as a cache type rather than storage.
RecentStats() can then be removed from the storage interface.
Will try it out as a separate PR.
2015-06-01 16:52:11 +00:00
Rohit Jnagal
b7ee40566c Initial client library for statsd backend.
Restricted to supporting just gauges now as counters or timing are not very useful for cAdvisor.
2015-05-27 17:48:09 +00:00
superzhaoyy
43fe9556b1 Add the support for redis in cAdvisor's storage 2015-05-13 00:03:14 -04:00
Victor Marmol
734df4d18c Place an absolute limit on elements in TimedStore. 2015-05-01 00:03:41 -07:00
Victor Marmol
c72445a698 Use generic TimedStore for stats storage 2015-04-23 11:43:32 -07:00
Victor Marmol
08186b6297 Rename StatsBuffer to TimedStore in utils 2015-04-23 11:12:09 -07:00
Victor Marmol
d9f8a0920c Move StatsBuffer to be time-based.
It now keeps stats for a certain amount of time before expiring them. It
used to keep a certain number of stats instead.
2015-04-22 09:43:30 -07:00
Victor Marmol
a4609fcec7 Remove unused FirstN() from StatsBuffer 2015-04-20 19:17:31 -07:00
James DeFelice
b173a1e44c pointers that reference addresses of the internal circular buffer should not escape 2015-04-04 12:39:09 +00:00
Victor Marmol
bacf817e6a If start and end specified, ignore maxResults. 2015-03-25 13:18:54 -07:00
Victor Marmol
bfaf70b255 Merge pull request #614 from rjnagal/master
Fix table length for bigquery storage.
2015-03-24 18:04:16 -07:00
Rohit Jnagal
a37b596a45 Fix table length for bigquery storage. 2015-03-24 18:18:42 +00:00