Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use http helper #136

Closed
wants to merge 11 commits into from
Closed

Use http helper #136

wants to merge 11 commits into from

Conversation

ganmacs
Copy link
Member

@ganmacs ganmacs commented Jan 22, 2020

This PR should be merged after the release which includes fluent/fluentd#2787.

@ganmacs
Copy link
Member Author

ganmacs commented Jan 28, 2020

ref #48

Signed-off-by: Yuta Iwama <ganmacs@gmail.com>
Signed-off-by: Yuta Iwama <ganmacs@gmail.com>
Signed-off-by: Yuta Iwama <ganmacs@gmail.com>
Signed-off-by: Yuta Iwama <ganmacs@gmail.com>
Copy link
Collaborator

@cosmo0920 cosmo0920 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable for me.

@@ -55,6 +50,8 @@ def configure(conf)
nil
end
@num_workers = sysconf && sysconf.workers ? sysconf.workers : 1
@secure = @transport_config.protocol == :tls || (@ssl && @ssl['enable'])
require 'openssl' if @secure
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put it on top of module is better.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed 52f0cb7

end

def send_request_to_each_worker
bind == '0.0.0.0' ? '127.0.0.1' : @bind
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bind = is missing?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right.. 90035b6

spec/fluent/plugin/in_prometheus_spec.rb Show resolved Hide resolved
context 'when extra_conf is used' do
let(:config) do
%[
type prometheus
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use @type

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed b054290

driver.run(timeout: 1)
end

context 'old parameter given' do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This text is very similar to parent text. What is the different point?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed descriptions 9edca6f

Signed-off-by: Yuta Iwama <ganmacs@gmail.com>
Signed-off-by: Yuta Iwama <ganmacs@gmail.com>
Signed-off-by: Yuta Iwama <ganmacs@gmail.com>
Signed-off-by: Yuta Iwama <ganmacs@gmail.com>
Signed-off-by: Yuta Iwama <ganmacs@gmail.com>
Signed-off-by: Yuta Iwama <ganmacs@gmail.com>
Signed-off-by: Yuta Iwama <ganmacs@gmail.com>
@ganmacs
Copy link
Member Author

ganmacs commented Feb 20, 2020

@repeatedly how about this?

This was referenced Apr 15, 2020
@ganmacs
Copy link
Member Author

ganmacs commented Apr 17, 2020

done by #148

@ganmacs ganmacs closed this Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants