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

fix(loki sink): Pass tls settings to healthcheck #2234

Merged
merged 1 commit into from
Apr 6, 2020

Conversation

LucioFranco
Copy link
Contributor

Signed-off-by: Lucio Franco luciofranco14@gmail.com

Signed-off-by: Lucio Franco <luciofranco14@gmail.com>
Copy link
Member

@lukesteensen lukesteensen left a comment

Choose a reason for hiding this comment

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

Is there a quick test we could add for this?

@LucioFranco
Copy link
Contributor Author

Is there a quick test we could add for this?

I am not totally sure, we probably have this issue in other sinks. I think the best option here is to use the type system to ensure the only way we can generate TlsSettings is from our config? I think that would be much better than writing a test for each sink.

@lukesteensen
Copy link
Member

I mean the best way would be to stop creating http clients twice, but we still should be verifying things work properly no matter how we solve it.

I'd go ahead and merge this if you don't have an idea for a quick fix. I'll add an issue to audit other sinks for this issue.

@LucioFranco LucioFranco merged commit 130df31 into master Apr 6, 2020
@LucioFranco LucioFranco deleted the lucio/fix-loki-tls branch April 6, 2020 19:48
@Hoverbear Hoverbear added the type: bug A code related bug. label Apr 7, 2020
@Hoverbear Hoverbear added the sink: loki Anything `loki` sink related label Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sink: loki Anything `loki` sink related type: bug A code related bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants