Skip to content

Reduce size of dependencies by 5x - #256

Closed
howardjohn wants to merge 1 commit into
prometheus:masterfrom
howardjohn:small-deps
Closed

howardjohn wants to merge 1 commit into
prometheus:masterfrom
howardjohn:small-deps

Conversation

@howardjohn

Copy link
Copy Markdown

See additional info in #255

This is essentially a partial revert of #242

Signed-off-by: John Howard <howardjohn@google.com>
@howardjohn

Copy link
Copy Markdown
Author

I don't think I can get the tests passing - go mod tidy behavior has changed since go 1.11/1.12 but its expecting the result to be identical across all versions

@brian-brazil

Copy link
Copy Markdown
Contributor

This needs discussion in #255 first, a change like this will generally only be considered if it's causing a problem for something in the Prometheus repo as these are internal libraries which we do not support depending on directly.

@roidelapluie

Copy link
Copy Markdown
Member

It sounds like an issue in go-kit, not in common.

@howardjohn

Copy link
Copy Markdown
Author

Closing due to conversation in #255 and since it doesn't seem like this is moving forward

@howardjohn howardjohn closed this Dec 2, 2020
alanprot pushed a commit to alanprot/common that referenced this pull request Mar 15, 2023
* Server: allow config of TLS cipher suites and min version

Add a single parameter for each, not split across HTTP and gRPC.

Required change upstream - prometheus/exporter-toolkit#110.

Downstream projects rely on CLI parameters to generate docstrings,
so we add `--server.tls-cipher-suites` and `--server.tls-min-version`.
Both CLI and yaml require comma-separated lists of cipher suites,
which is different to the yaml array format supported by prometheus/exporter-toolkit.

The names accepted are from Go, listed here: https://pkg.go.dev/crypto/tls#pkg-constants

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
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