fluent-plugin-azuremonitormetrics 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +35 -37
- data/fluent-plugin-azuremonitormetrics.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4ce92a7be444dcf1fbbd46ef511b4af1ab734a61
|
|
4
|
+
data.tar.gz: 298446f3b3e78d186f7090a7ab55a7a842f57be5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
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.
|
|
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/
|
|
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.
|
|
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
|
+
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/
|
|
88
|
+
homepage: https://github.com/Azure/fluent-plugin-azuremonitormetrics
|
|
89
89
|
licenses:
|
|
90
90
|
- MIT
|
|
91
91
|
metadata: {}
|