fluent-plugin-application-insights 0.2.2 → 0.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2054942f1e966af0a589aff82532a41a87b3ab9
|
4
|
+
data.tar.gz: cea79a60a3d814432e04b04c6c7daeaf5ddbede9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77459af634461ebf853d8cd30863ac06b6c8b0b3b8d44b01703e04418fb0701e045a7051f997b08e6a052ce83910f764fc998b4154e529fc22145bfd24594ab1
|
7
|
+
data.tar.gz: f1819e1896f3e770b2df1c0fac3ba04f60801fdd4819ded37c96de583621f0890a94d7c6f6a72143b88843293d05f23421e61ab23cbf02e2fcc3b99154c02fd4
|
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |spec|
|
5
5
|
spec.name = "fluent-plugin-application-insights"
|
6
|
-
spec.version = "0.2.
|
6
|
+
spec.version = "0.2.3"
|
7
7
|
spec.authors = ["Microsoft Corporation"]
|
8
8
|
spec.email = ["azure-tools@microsoft.com"]
|
9
9
|
|
@@ -101,8 +101,8 @@ module Fluent::Plugin
|
|
101
101
|
|
102
102
|
def process(tag, es)
|
103
103
|
es.each do |time, record|
|
104
|
-
#
|
105
|
-
time_ruby = Time.at(time.sec, time.nsec / 1000).utc
|
104
|
+
# 'time' is a Fluent::EventTime object or an Integer. Convert it to ruby Time object.
|
105
|
+
time_ruby = time.is_a?(Fluent::EventTime) ? Time.at(time.sec, time.nsec / 1000).utc : Time.at(time)
|
106
106
|
if @standard_schema
|
107
107
|
process_standard_schema_log record, time_ruby
|
108
108
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-application-insights
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|