fluent-plugin-vadimberezniker-gcp 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 200fd2606720398b9cecdf54aec28bb9430ada8d27054ff2d19f3909e0ee2496
4
- data.tar.gz: f50be510eb1beb77d836675ccbf16d28bcb58bab4c238583e0c44baa03bd80d8
3
+ metadata.gz: eb167c880441ebd74e849b3e13fa450964e3c52109585c002e69992ecf2cb827
4
+ data.tar.gz: 8724fa1b6ddde0d7058fc829a02c8a600269c015fd86c11dd2eefafbbb5fb52c
5
5
  SHA512:
6
- metadata.gz: bc3b9b7a138f710ecb8a8be5347c7ed0d8bd514bcdc2d55a3802db06c061b2e2a1775e20c06c8ec8fd5a1bc842b03c7a5d7b31470ecc60144ab65e7cd1da81e8
7
- data.tar.gz: 6a1c92525e302f870a7b3080b19ad1771c460a890e800aac109cffe085c571b46e242985160782aaf4ffce722cec0531d2894f7f934ef3e02e86f0573a6cf169
6
+ metadata.gz: fa9976a2fb86680cee61cd1e3df97feb1090df7781f68a5d8ebbbab9d9f4c1d30a94a787bd9f2a44cadb6df30d4bcdf4baabbc3cf7d2a21c2bdb5007d59fa103
7
+ data.tar.gz: 93a77683aaa30de2cdcdb8f476e739a31cecfb241ad9776b5fade21999eba048375d24d004f388f8b70a4f81af19964c31407df833920fc1e5d127bc0c3222f7
data/Gemfile.lock ADDED
@@ -0,0 +1,263 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ fluent-plugin-vadimberezniker-gcp (0.1.1)
5
+ fluentd (~> 1.16)
6
+ google-api-client (= 0.53.0)
7
+ google-cloud-logging (= 2.3.2)
8
+ google-cloud-monitoring-v3 (= 0.10.0)
9
+ google-protobuf (= 3.22.1)
10
+ googleapis-common-protos (= 1.4.0)
11
+ googleauth (= 1.3.0)
12
+ grpc (= 1.53.0)
13
+ json (= 2.6.3)
14
+ opencensus (= 0.5.0)
15
+ opencensus-stackdriver (= 0.4.1)
16
+
17
+ GEM
18
+ remote: https://rubygems.org/
19
+ specs:
20
+ activesupport (7.1.3.4)
21
+ base64
22
+ bigdecimal
23
+ concurrent-ruby (~> 1.0, >= 1.0.2)
24
+ connection_pool (>= 2.2.5)
25
+ drb
26
+ i18n (>= 1.6, < 2)
27
+ minitest (>= 5.1)
28
+ mutex_m
29
+ tzinfo (~> 2.0)
30
+ addressable (2.8.7)
31
+ public_suffix (>= 2.0.2, < 7.0)
32
+ ast (2.4.2)
33
+ base64 (0.2.0)
34
+ bigdecimal (3.1.8)
35
+ concurrent-ruby (1.3.3)
36
+ connection_pool (2.4.1)
37
+ cool.io (1.8.1)
38
+ coveralls (0.8.23)
39
+ json (>= 1.8, < 3)
40
+ simplecov (~> 0.16.1)
41
+ term-ansicolor (~> 1.3)
42
+ thor (>= 0.19.4, < 2.0)
43
+ tins (~> 1.6)
44
+ crack (1.0.0)
45
+ bigdecimal
46
+ rexml
47
+ csv (3.3.0)
48
+ declarative (0.0.20)
49
+ docile (1.4.0)
50
+ drb (2.2.1)
51
+ faraday (2.10.0)
52
+ faraday-net_http (>= 2.0, < 3.2)
53
+ logger
54
+ faraday-net_http (3.1.0)
55
+ net-http
56
+ faraday-retry (2.2.1)
57
+ faraday (~> 2.0)
58
+ fluentd (1.17.0)
59
+ base64 (~> 0.2)
60
+ bundler
61
+ cool.io (>= 1.4.5, < 2.0.0)
62
+ csv (~> 3.2)
63
+ drb (~> 2.2)
64
+ http_parser.rb (>= 0.5.1, < 0.9.0)
65
+ msgpack (>= 1.3.1, < 2.0.0)
66
+ serverengine (>= 2.3.2, < 3.0.0)
67
+ sigdump (~> 0.2.5)
68
+ strptime (>= 0.2.4, < 1.0.0)
69
+ tzinfo (>= 1.0, < 3.0)
70
+ tzinfo-data (~> 1.0)
71
+ webrick (~> 1.4)
72
+ yajl-ruby (~> 1.0)
73
+ gapic-common (0.20.0)
74
+ faraday (>= 1.9, < 3.a)
75
+ faraday-retry (>= 1.0, < 3.a)
76
+ google-protobuf (~> 3.14)
77
+ googleapis-common-protos (>= 1.3.12, < 2.a)
78
+ googleapis-common-protos-types (>= 1.3.1, < 2.a)
79
+ googleauth (~> 1.0)
80
+ grpc (~> 1.36)
81
+ gems (1.2.0)
82
+ google-api-client (0.53.0)
83
+ google-apis-core (~> 0.1)
84
+ google-apis-generator (~> 0.1)
85
+ google-apis-core (0.11.3)
86
+ addressable (~> 2.5, >= 2.5.1)
87
+ googleauth (>= 0.16.2, < 2.a)
88
+ httpclient (>= 2.8.1, < 3.a)
89
+ mini_mime (~> 1.0)
90
+ representable (~> 3.0)
91
+ retriable (>= 2.0, < 4.a)
92
+ rexml
93
+ google-apis-discovery_v1 (0.14.0)
94
+ google-apis-core (>= 0.11.0, < 2.a)
95
+ google-apis-generator (0.12.0)
96
+ activesupport (>= 5.0)
97
+ gems (~> 1.2)
98
+ google-apis-core (>= 0.11.0, < 2.a)
99
+ google-apis-discovery_v1 (~> 0.5)
100
+ thor (>= 0.20, < 2.a)
101
+ google-cloud-core (1.7.0)
102
+ google-cloud-env (>= 1.0, < 3.a)
103
+ google-cloud-errors (~> 1.0)
104
+ google-cloud-env (1.6.0)
105
+ faraday (>= 0.17.3, < 3.0)
106
+ google-cloud-errors (1.4.0)
107
+ google-cloud-logging (2.3.2)
108
+ concurrent-ruby (~> 1.1)
109
+ google-cloud-core (~> 1.5)
110
+ google-cloud-logging-v2 (~> 0.0)
111
+ stackdriver-core (~> 1.3)
112
+ google-cloud-logging-v2 (0.11.0)
113
+ gapic-common (>= 0.20.0, < 2.a)
114
+ google-cloud-errors (~> 1.0)
115
+ google-cloud-monitoring-v3 (0.10.0)
116
+ gapic-common (>= 0.16.0, < 2.a)
117
+ google-cloud-errors (~> 1.0)
118
+ google-cloud-trace-v2 (0.7.0)
119
+ gapic-common (>= 0.20.0, < 2.a)
120
+ google-cloud-errors (~> 1.0)
121
+ google-protobuf (3.22.1-x86_64-linux)
122
+ googleapis-common-protos (1.4.0)
123
+ google-protobuf (~> 3.14)
124
+ googleapis-common-protos-types (~> 1.2)
125
+ grpc (~> 1.27)
126
+ googleapis-common-protos-types (1.15.0)
127
+ google-protobuf (>= 3.18, < 5.a)
128
+ googleauth (1.3.0)
129
+ faraday (>= 0.17.3, < 3.a)
130
+ jwt (>= 1.4, < 3.0)
131
+ memoist (~> 0.16)
132
+ multi_json (~> 1.11)
133
+ os (>= 0.9, < 2.0)
134
+ signet (>= 0.16, < 2.a)
135
+ grpc (1.53.0-x86_64-linux)
136
+ google-protobuf (~> 3.21)
137
+ googleapis-common-protos-types (~> 1.0)
138
+ hashdiff (1.1.0)
139
+ http_parser.rb (0.8.0)
140
+ httpclient (2.8.3)
141
+ i18n (1.14.5)
142
+ concurrent-ruby (~> 1.0)
143
+ json (2.6.3)
144
+ jwt (2.8.2)
145
+ base64
146
+ logger (1.6.0)
147
+ memoist (0.16.2)
148
+ metaclass (0.0.4)
149
+ mini_mime (1.1.5)
150
+ minitest (5.24.1)
151
+ mize (0.4.1)
152
+ protocol (~> 2.0)
153
+ mocha (1.9.0)
154
+ metaclass (~> 0.0.1)
155
+ msgpack (1.7.2)
156
+ multi_json (1.15.0)
157
+ mutex_m (0.2.0)
158
+ net-http (0.4.1)
159
+ uri
160
+ opencensus (0.5.0)
161
+ opencensus-stackdriver (0.4.1)
162
+ concurrent-ruby (~> 1.0)
163
+ google-cloud-env (~> 1.3)
164
+ google-cloud-monitoring-v3 (~> 0.1)
165
+ google-cloud-trace-v2 (~> 0.1)
166
+ opencensus (~> 0.5)
167
+ os (1.1.4)
168
+ parallel (1.25.1)
169
+ parser (3.3.4.0)
170
+ ast (~> 2.4.1)
171
+ racc
172
+ power_assert (2.0.3)
173
+ prometheus-client (0.9.0)
174
+ quantile (~> 0.2.1)
175
+ protocol (2.0.0)
176
+ ruby_parser (~> 3.0)
177
+ public_suffix (6.0.0)
178
+ quantile (0.2.1)
179
+ racc (1.8.0)
180
+ rainbow (3.1.1)
181
+ rake (13.0.6)
182
+ regexp_parser (2.9.2)
183
+ representable (3.2.0)
184
+ declarative (< 0.1.0)
185
+ trailblazer-option (>= 0.1.1, < 0.2.0)
186
+ uber (< 0.2.0)
187
+ retriable (3.1.2)
188
+ rexml (3.3.1)
189
+ strscan
190
+ rubocop (1.48.1)
191
+ json (~> 2.3)
192
+ parallel (~> 1.10)
193
+ parser (>= 3.2.0.0)
194
+ rainbow (>= 2.2.2, < 4.0)
195
+ regexp_parser (>= 1.8, < 3.0)
196
+ rexml (>= 3.2.5, < 4.0)
197
+ rubocop-ast (>= 1.26.0, < 2.0)
198
+ ruby-progressbar (~> 1.7)
199
+ unicode-display_width (>= 2.4.0, < 3.0)
200
+ rubocop-ast (1.31.3)
201
+ parser (>= 3.3.1.0)
202
+ ruby-progressbar (1.13.0)
203
+ ruby_parser (3.21.1)
204
+ racc (~> 1.5)
205
+ sexp_processor (~> 4.16)
206
+ serverengine (2.3.2)
207
+ sigdump (~> 0.2.2)
208
+ sexp_processor (4.17.2)
209
+ sigdump (0.2.5)
210
+ signet (0.19.0)
211
+ addressable (~> 2.8)
212
+ faraday (>= 0.17.5, < 3.a)
213
+ jwt (>= 1.5, < 3.0)
214
+ multi_json (~> 1.10)
215
+ simplecov (0.16.1)
216
+ docile (~> 1.1)
217
+ json (>= 1.8, < 3)
218
+ simplecov-html (~> 0.10.0)
219
+ simplecov-html (0.10.2)
220
+ stackdriver-core (1.6.0)
221
+ google-cloud-core (~> 1.2)
222
+ strptime (0.2.5)
223
+ strscan (3.1.0)
224
+ sync (0.5.0)
225
+ term-ansicolor (1.10.2)
226
+ mize
227
+ tins (~> 1.0)
228
+ test-unit (3.3.3)
229
+ power_assert
230
+ thor (1.3.1)
231
+ tins (1.33.0)
232
+ bigdecimal
233
+ sync
234
+ trailblazer-option (0.1.2)
235
+ tzinfo (2.0.6)
236
+ concurrent-ruby (~> 1.0)
237
+ tzinfo-data (1.2024.1)
238
+ tzinfo (>= 1.0.0)
239
+ uber (0.1.0)
240
+ unicode-display_width (2.5.0)
241
+ uri (0.13.0)
242
+ webmock (3.17.1)
243
+ addressable (>= 2.8.0)
244
+ crack (>= 0.3.2)
245
+ hashdiff (>= 0.4.0, < 2.0.0)
246
+ webrick (1.8.1)
247
+ yajl-ruby (1.4.3)
248
+
249
+ PLATFORMS
250
+ x86_64-linux
251
+
252
+ DEPENDENCIES
253
+ coveralls (= 0.8.23)
254
+ fluent-plugin-vadimberezniker-gcp!
255
+ mocha (= 1.9.0)
256
+ prometheus-client (< 0.10)
257
+ rake (= 13.0.6)
258
+ rubocop (= 1.48.1)
259
+ test-unit (= 3.3.3)
260
+ webmock (= 3.17.1)
261
+
262
+ BUNDLED WITH
263
+ 2.3.5
data/README.rdoc CHANGED
@@ -1,3 +1,11 @@
1
+ This is a fork of GoogleCloudPlatform/fluent-plugin-google-cloud that currently
2
+ only relaxes the version dependency on fluentd to avoid causing dependency
3
+ resolution issues for projects that may want to depend on this gem.
4
+
5
+ This fork is unaffiliated with Google.
6
+
7
+ Original readme:
8
+
1
9
  = Google Cloud Logging plugin for {fluentd}[http://github.com/fluent/fluentd]
2
10
 
3
11
  fluent-plugin-google-cloud gem includes two plugins:
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
10
10
  gem.homepage =
11
11
  'https://github.com/GoogleCloudPlatform/fluent-plugin-google-cloud'
12
12
  gem.license = 'Apache-2.0'
13
- gem.version = '0.1.0'
13
+ gem.version = '0.1.1'
14
14
  gem.authors = ['Vadim Berezniker']
15
15
  gem.email = ['vadim@berezniker.com']
16
16
  gem.required_ruby_version = Gem::Requirement.new('>= 2.6')
@@ -709,6 +709,7 @@ module Fluent
709
709
  @trace_sampled_key
710
710
  ]
711
711
 
712
+ @log.info "Record keys #{record.keys}"
712
713
  # If the log is json, we want to export it as a structured log
713
714
  # unless there is additional metadata that would be lost.
714
715
  record_json = nil
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-vadimberezniker-gcp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vadim Berezniker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-11 00:00:00.000000000 Z
11
+ date: 2024-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -275,11 +275,11 @@ extra_rdoc_files: []
275
275
  files:
276
276
  - CONTRIBUTING
277
277
  - Gemfile
278
+ - Gemfile.lock
278
279
  - LICENSE
279
280
  - README.rdoc
280
281
  - Rakefile
281
- - fluent-plugin-google-cloud.gemspec
282
- - fluent-plugin-vadimberezniker-gcp-0.13.2.gem
282
+ - fluent-plugin-vadimberezniker-gcp.gemspec
283
283
  - lib/fluent/plugin/common.rb
284
284
  - lib/fluent/plugin/filter_add_insert_ids.rb
285
285
  - lib/fluent/plugin/filter_analyze_config.rb