fluent-plugin-newrelic 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 +4 -4
- data/DEVELOPER.md +8 -1
- data/README.md +3 -1
- data/lib/newrelic-fluentd-output/version.rb +1 -1
- data/newrelic-fluentd-output.gemspec +6 -5
- metadata +8 -9
- data/fluent-plugin-newrelic-0.2.1.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9f345b370976aeb0eeefe07a17d39ab4ec51b4a896e130736fee0a0816815ed
|
4
|
+
data.tar.gz: 642c8efc84ea1a3aeed227079e4d73123e26d278a50f272d113d039214fbb174
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83444d5d3b4918088ed1356b45a7b4a0e054541fc199a895effbf5337712e0572617e36b09d0904ce0f00be34e101d647d97b56910a833304fe606352b7e1743
|
7
|
+
data.tar.gz: dcd3b6db1cbfc9e1a4e2d7c2967ee0cc4a096bc96f9004ecc9e28cf14565ebca37912a301bdd7206fa9cb5d1d0b553ec09e2afd68949bc4466b775cf20433acf
|
data/DEVELOPER.md
CHANGED
@@ -11,6 +11,13 @@
|
|
11
11
|
|
12
12
|
**NOTE**: Be mindful that using `log.info` in the plugin causes an unintended Sorcerer's Apprentice Syndrome style bug where exponentially larger copies of log messages are sent until the td-agent is unloaded. Super weird, but now you know.
|
13
13
|
|
14
|
+
## Pushing changes to the public repo
|
15
|
+
After updating the New Relic repo with changes, changes will need to be pushed to the public GitHub repo at: https://github.com/newrelic/newrelic-fluentd-output
|
16
|
+
|
17
|
+
* `git remote add public git@github.com:newrelic/newrelic-fluentd-output.git`
|
18
|
+
* `git push public master:name-of-branch-to-create`
|
19
|
+
* Create a PR from that branch in https://github.com/newrelic/newrelic-fluentd-output
|
20
|
+
* Get the PR reviewed, merged, and delete the branch!
|
14
21
|
|
15
22
|
# Testing it with a local Fluentd install
|
16
23
|
|
@@ -24,4 +31,4 @@
|
|
24
31
|
After updating the source code and gem version in `version.rb`, push the changes to RubyGems. Note, you must be a gem owner to publish changes on [RubyGems.org](https://rubygems.org/profiles/NR-LOGGING)
|
25
32
|
|
26
33
|
* Build the gem: `gem build newrelic-fluentd-output.gemspec`
|
27
|
-
* Publish the gem: `gem push fluent-plugin-newrelic-<VERSION>.gem` with the updated version (ex: `gem push fluent-plugin-newrelic-0.2.
|
34
|
+
* Publish the gem: `gem push --host https://rubygems.org fluent-plugin-newrelic-<VERSION>.gem` with the updated version (ex: `gem push --host https://rubygems.org fluent-plugin-newrelic-0.2.2.gem`)
|
data/README.md
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
A [Fluentd](https://fluentd.org/) output plugin that sends logs to New Relic
|
4
4
|
|
5
|
+
This project is provided AS-IS WITHOUT WARRANTY OR SUPPORT, although you can report issues and contribute to the project here on GitHub.
|
6
|
+
|
5
7
|
## Prerequisites
|
6
8
|
|
7
9
|
Fluentd >= v1.0
|
@@ -31,7 +33,7 @@ For more info, review [Fluentd's official documentation](https://docs.fluentd.or
|
|
31
33
|
|---|---|---|
|
32
34
|
| concurrent_requests | The number of threads to make requests from | 1 |
|
33
35
|
| retries | The maximum number of times to retry a failed request, exponentially increasing delay between each retry | 5 |
|
34
|
-
| retry_seconds | The
|
36
|
+
| retry_seconds | The initial delay between retries, in seconds | 5 |
|
35
37
|
| max_delay | The maximum delay between retries, in seconds | 30 |
|
36
38
|
| base_uri | New Relic ingestion endpoint | 'https://log-api.newrelic.com/log/v1' |
|
37
39
|
|
@@ -7,21 +7,22 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = "fluent-plugin-newrelic"
|
8
8
|
spec.version = NewrelicFluentdOutput::VERSION
|
9
9
|
spec.authors = ["New Relic Logging Team"]
|
10
|
+
spec.licenses = ['Apache-2.0']
|
10
11
|
spec.email = ["logging-team@newrelic.com"]
|
11
12
|
|
12
|
-
if spec.respond_to?(:metadata)
|
13
|
-
|
14
|
-
end
|
13
|
+
# if spec.respond_to?(:metadata)
|
14
|
+
# spec.metadata['allowed_push_host'] = "https://artifacts.datanerd.us/api/gems/newrelic-gems-local/"
|
15
|
+
# end
|
15
16
|
|
16
17
|
spec.summary = "Sends FluentD events to New Relic"
|
17
|
-
spec.homepage = "https://
|
18
|
+
spec.homepage = "https://github.com/newrelic/newrelic-fluentd-output"
|
18
19
|
|
19
20
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
20
21
|
spec.bindir = "exe"
|
21
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
23
|
spec.require_paths = ["lib"]
|
23
24
|
|
24
|
-
spec.add_runtime_dependency "fluentd"
|
25
|
+
spec.add_runtime_dependency "fluentd", ">=1.0.0"
|
25
26
|
spec.add_development_dependency "bundler"
|
26
27
|
spec.add_development_dependency "rake"
|
27
28
|
spec.add_development_dependency "test-unit"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-newrelic
|
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
|
- New Relic Logging Team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 1.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -96,15 +96,14 @@ files:
|
|
96
96
|
- LICENSE
|
97
97
|
- README.md
|
98
98
|
- Rakefile
|
99
|
-
- fluent-plugin-newrelic-0.2.1.gem
|
100
99
|
- grandcentral.yml
|
101
100
|
- lib/fluent/plugin/out_newrelic.rb
|
102
101
|
- lib/newrelic-fluentd-output/version.rb
|
103
102
|
- newrelic-fluentd-output.gemspec
|
104
|
-
homepage: https://
|
105
|
-
licenses:
|
106
|
-
|
107
|
-
|
103
|
+
homepage: https://github.com/newrelic/newrelic-fluentd-output
|
104
|
+
licenses:
|
105
|
+
- Apache-2.0
|
106
|
+
metadata: {}
|
108
107
|
post_install_message:
|
109
108
|
rdoc_options: []
|
110
109
|
require_paths:
|
Binary file
|