Skip to content

Use http helper#136

Closed
ganmacs wants to merge 11 commits into
fluent:masterfrom
ganmacs:use-http-helper
Closed

Use http helper#136
ganmacs wants to merge 11 commits into
fluent:masterfrom
ganmacs:use-http-helper

Conversation

@ganmacs

@ganmacs ganmacs commented Jan 22, 2020

Copy link
Copy Markdown
Member

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

@ganmacs

ganmacs commented Jan 28, 2020

Copy link
Copy Markdown
Member Author

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>

@cosmo0920 cosmo0920 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks reasonable for me.

Comment thread lib/fluent/plugin/in_prometheus.rb Outdated
end
@num_workers = sysconf && sysconf.workers ? sysconf.workers : 1
@secure = @transport_config.protocol == :tls || (@ssl && @ssl['enable'])
require 'openssl' if @secure

Copy link
Copy Markdown
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
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

fixed 52f0cb7

Comment thread lib/fluent/plugin/in_prometheus.rb Outdated
end

def send_request_to_each_worker
bind == '0.0.0.0' ? '127.0.0.1' : @bind

Copy link
Copy Markdown
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
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

right.. 90035b6

Comment thread spec/fluent/plugin/in_prometheus_spec.rb
context 'when extra_conf is used' do
let(:config) do
%[
type prometheus

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

ganmacs commented Feb 20, 2020

Copy link
Copy Markdown
Member Author

@repeatedly how about this?

This was referenced Apr 15, 2020
@ganmacs

ganmacs commented Apr 17, 2020

Copy link
Copy Markdown
Member Author

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.

3 participants