fluent-plugin-application-insights 0.2.3 → 0.2.4

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
- SHA1:
3
- metadata.gz: d2054942f1e966af0a589aff82532a41a87b3ab9
4
- data.tar.gz: cea79a60a3d814432e04b04c6c7daeaf5ddbede9
2
+ SHA256:
3
+ metadata.gz: e3d4a6b0ef834ab4b61f71d903e4e574d3736bdb546e0333b445875014637130
4
+ data.tar.gz: 689b3c40b8f77c54d06409723d6dbd099aa3e47b24904ad90db360bac153e093
5
5
  SHA512:
6
- metadata.gz: 77459af634461ebf853d8cd30863ac06b6c8b0b3b8d44b01703e04418fb0701e045a7051f997b08e6a052ce83910f764fc998b4154e529fc22145bfd24594ab1
7
- data.tar.gz: f1819e1896f3e770b2df1c0fac3ba04f60801fdd4819ded37c96de583621f0890a94d7c6f6a72143b88843293d05f23421e61ab23cbf02e2fcc3b99154c02fd4
6
+ metadata.gz: 927622ccf82f82af8e4de208da308353a4be14f24bdf9b20d5dad39d32144867438a3eb7382a2b9a5cd1b423e8fb6edf3a48cddd346654b5bb14032a68049031
7
+ data.tar.gz: 2222e6c5867213565b2b6d51cd3ec187ded2f9e877d2a3ce48b24ae8773d34f75e35870aff4dd7a9e63b923db89e8ecd115f8cf79589051ffc8802723b00783d
@@ -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.3"
6
+ spec.version = "0.2.4"
7
7
  spec.authors = ["Microsoft Corporation"]
8
8
  spec.email = ["azure-tools@microsoft.com"]
9
9
 
@@ -15,6 +15,8 @@ module Fluent::Plugin
15
15
 
16
16
  # The Application Insights instrumentation key
17
17
  config_param :instrumentation_key, :string
18
+ # The service endpoint uri to push the telemetry to
19
+ config_param :service_endpoint_uri, :string, default: nil
18
20
  # The batch size to send data to Application Insights service.
19
21
  config_param :send_buffer_size, :integer, default: 1000
20
22
  # The parameter indication whether the record is in standard schema. i.e., the format that is recognized by Application Insights backend.
@@ -72,7 +74,7 @@ module Fluent::Plugin
72
74
  def start
73
75
  super
74
76
 
75
- sender = Channel::AsynchronousSender.new
77
+ sender = Channel::AsynchronousSender.new if @service_endpoint_uri.nil? else Channel::AsynchronousSender.new @service_endpoint_uri
76
78
  queue = Channel::AsynchronousQueue.new sender
77
79
  channel = Channel::TelemetryChannel.new nil, queue
78
80
  @tc = TelemetryClient.new @instrumentation_key, channel
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.3
4
+ version: 0.2.4
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-09-27 00:00:00.000000000 Z
11
+ date: 2019-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  version: '0'
126
126
  requirements: []
127
127
  rubyforge_project:
128
- rubygems_version: 2.6.14.1
128
+ rubygems_version: 2.7.6.2
129
129
  signing_key:
130
130
  specification_version: 4
131
131
  summary: This is the fluentd output plugin for Azure Application Insights.