fluent-plugin-azuremonitormetrics 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 104e01a956302dd8182518c77ee2587646d6cba4
4
- data.tar.gz: 416a1e4c42d95470f46a70b8364669878c460067
3
+ metadata.gz: 4ce92a7be444dcf1fbbd46ef511b4af1ab734a61
4
+ data.tar.gz: 298446f3b3e78d186f7090a7ab55a7a842f57be5
5
5
  SHA512:
6
- metadata.gz: 6c880b47e75f1bb1029dd6e47875cf15f419e6c857194c9bec75753aecc4ca966c40f915b0a0245cc1faac58eee3f4205cabe6795d99a64280902bb2afb7fee4
7
- data.tar.gz: 8611b976a843d2588b9b4a0fff042ebf66afa6c3077c680945f914b2535f5e87b126d01194b91448517eefd338a593c649862c3d7dcb092a4cfd500f77af8fbb
6
+ metadata.gz: 5b4686177e1a75936521c908ef05a9e38f957cdcb229d13f9d8761c46f578c6b1435412f723328b63b231b709df9d4e02e135a9a93f397c370b9cf107b7e3f66
7
+ data.tar.gz: 93c9305a870778695fa7669514e246dd3ac0a1c141e070d831f15b969dbfd2b00c882c12aaa6bf291a9544868f7f6856f78df3e39f85ef5a371fdcb4235f8cd0
data/README.md CHANGED
@@ -49,45 +49,43 @@ $ fluentd -c ./fluentd.conf
49
49
 
50
50
  #### output data format
51
51
 
52
- Example of Average aggregation on Percentage CPU metric, on timespan of 5 minutes and 1 minute grain:
52
+ Example of Average and Count aggregations on Percentage CPU and Network Out metrics, on timespan of 5 minutes and 5 minute grain:
53
53
 
54
54
  ```
55
- 2017-10-22 14:25:28 azuremonitormetrics {
56
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my_resource_group/providers/Microsoft.Compute/virtualMachines/my-vm/providers/Microsoft.Insights/metrics/Percentage CPU",
57
- "type": "Microsoft.Insights/metrics",
58
- "name": {
59
- "value": "Percentage CPU",
60
- "localizedValue": "Percentage CPU"
61
- },
62
- "unit": "Percent",
63
- "timeseries": [
64
- {
65
- "metadatavalues": [],
66
- "data": [
67
- {
68
- "timeStamp": "2017-10-24T14:11:00Z",
69
- "average": 2.5075
70
- },
71
- {
72
- "timeStamp": "2017-10-24T14:12:00Z",
73
- "average": 2.505
74
- },
75
- {
76
- "timeStamp": "2017-10-24T14:13:00Z",
77
- "average": 2.455
78
- },
79
- {
80
- "timeStamp": "2017-10-24T14:14:00Z",
81
- "average": 2.4375
82
- },
83
- {
84
- "timeStamp": "2017-10-24T14:15:00Z",
85
- "average": 2.4375
86
- }
87
- ]
88
- }
89
- ]
90
- }
55
+ 2017-10-22 14:25:28 azuremonitormetrics [
56
+ {
57
+ "data":[
58
+ {
59
+ "timeStamp":"2017-11-23T14:30:00Z",
60
+ "count":200.0,
61
+ "average":1115.29
62
+ }
63
+ ],
64
+ "id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Compute/virtualMachines/mymachine/providers/Microsoft.Insights/metrics/Network Out",
65
+ "name":{
66
+ "value":"Network Out",
67
+ "localizedValue":"Network Out"
68
+ },
69
+ "type":"Microsoft.Insights/metrics",
70
+ "unit":"Bytes"
71
+ },
72
+ {
73
+ "data":[
74
+ {
75
+ "timeStamp":"2017-11-23T14:30:00Z",
76
+ "count":40.0,
77
+ "average":0.732
78
+ }
79
+ ],
80
+ "id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Compute/virtualMachines/mymachine/providers/Microsoft.Insights/metrics/Percentage CPU",
81
+ "name":{
82
+ "value":"Percentage CPU",
83
+ "localizedValue":"Percentage CPU"
84
+ },
85
+ "type":"Microsoft.Insights/metrics",
86
+ "unit":"Percent"
87
+ }
88
+ ]
91
89
  ```
92
90
 
93
91
  ## Test
@@ -4,11 +4,11 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "fluent-plugin-azuremonitormetrics"
7
- gem.version = "0.0.2"
7
+ gem.version = "0.0.3"
8
8
  gem.authors = ["Ilana Kantorov"]
9
9
  gem.email = ["ilanak@microsoft.com"]
10
10
  gem.description = %q{Input plugin for Azure Monitor Metrics.}
11
- gem.homepage = "https://github.com/Ilanak/fluent-plugin-azuremonitormetrics"
11
+ gem.homepage = "https://github.com/Azure/fluent-plugin-azuremonitormetrics"
12
12
  gem.summary = gem.description
13
13
  gem.files = `git ls-files`.split($\)
14
14
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-azuremonitormetrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilana Kantorov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-23 00:00:00.000000000 Z
11
+ date: 2017-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -85,7 +85,7 @@ files:
85
85
  - lib/fluent/plugin/in_azuremonitormetrics.rb
86
86
  - test/helper.rb
87
87
  - test/plugin/test_in_azuremonitormetrics.rb
88
- homepage: https://github.com/Ilanak/fluent-plugin-azuremonitormetrics
88
+ homepage: https://github.com/Azure/fluent-plugin-azuremonitormetrics
89
89
  licenses:
90
90
  - MIT
91
91
  metadata: {}