Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cookiecutter.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ project_short_description [A Golang project.]: A Golang project
docker_image [alpine:latest]:
docker_build_image [golang]:
Select docker_build_image_version:
1 - 1.19
2 - 1.20
Choose from 1, 2 [1]: 2
1 - 1.25
2 - 1.24
Choose from 1, 2 [1]: 1
Comment thread
ankurs marked this conversation as resolved.
{% endhighlight %}

## Checkout your new project
Expand Down
3 changes: 2 additions & 1 deletion Index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ ColdBrew integrates with all the popular libraries. We strongly believe in the [
- [opentelemetry] - Tracing
- [jaeger] - Tracing
- [opentracing] - Tracing
- [hystrix-go] - Circuit Breaker
- [hystrix-go] - Circuit Breaker (deprecated, consider [failsafe-go])
- [new relic] - Monitoring
- [sentry] - Error Reporting
- [go-grpc-middleware] - Middlewares: interceptors, helpers and utilities.
Expand All @@ -58,6 +58,7 @@ ColdBrew integrates with all the popular libraries. We strongly believe in the [
[new relic]: https://newrelic.com/
[sentry]: https://sentry.io/
[go-grpc-middleware]: https://pkg.go.dev/github.com/grpc-ecosystem/go-grpc-middleware
[failsafe-go]: https://github.com/failsafe-go/failsafe-go
[grpc_retry]: https://pkg.go.dev/github.com/grpc-ecosystem/go-grpc-middleware/retry
[opentelemetry]: https://opentelemetry.io/
[DRY]: https://en.wikipedia.org/wiki/Don%27t_repeat_yourself
Expand Down
4 changes: 2 additions & 2 deletions Packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ Tracing is a library that provides distributed tracing to Go applications. It of

Documentation can be found at [tracing-docs]

## [Hystrix Prometheus]
hystrixprometheus provides a Prometheus metrics collector for Hystrix (https://github.com/afex/hystrix-go). This is a workaround for hystrix-go not supporting the prometheus registry
## [Hystrix Prometheus] (Deprecated)
hystrixprometheus provides a Prometheus metrics collector for Hystrix (https://github.com/afex/hystrix-go). This package is deprecated as hystrix-go is unmaintained. Consider migrating to [failsafe-go](https://github.com/failsafe-go/failsafe-go).

Documentation can be found at [hystrixprometheus-docs]

Expand Down
3 changes: 3 additions & 0 deletions howto/Metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ To learn more about the Prometheus and the data types it supports, see [here](ht

## How to use Hystrix Metrics in Prometheus

{: .warning }
Hystrix-Go is unmaintained (last updated 2018). Consider migrating to [failsafe-go](https://github.com/failsafe-go/failsafe-go) for circuit breaker functionality.

[Hystrix Prometheus] is a library that provides a Prometheus metrics collector for [Hystrix-go]. To use it, you can register the collector with the default Prometheus registry:

```go
Expand Down
4 changes: 4 additions & 0 deletions integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ func main() {

## Hystrix-Go

{: .warning }
Hystrix-Go (`afex/hystrix-go`) is unmaintained (last updated 2018). Consider migrating to [failsafe-go] for circuit breaker functionality.

[Hystrix-Go] is a Go implementation of the circuit breaker pattern. ColdBrew provides Prometheus metrics integration for Hystrix.

### Initialising
Expand Down Expand Up @@ -289,5 +292,6 @@ To see all the Coldbrew packages, check out the [Coldbrew packages] page.
[SetupOpenTelemetry]: https://pkg.go.dev/github.com/go-coldbrew/core#SetupOpenTelemetry
[SetupLogger]: https://pkg.go.dev/github.com/go-coldbrew/core#SetupLogger
[SetupHystrixPrometheus]: https://pkg.go.dev/github.com/go-coldbrew/core#SetupHystrixPrometheus
[failsafe-go]: https://github.com/failsafe-go/failsafe-go
[SetupEnvironment]: https://pkg.go.dev/github.com/go-coldbrew/core#SetupEnvironment
[SetupReleaseName]: https://pkg.go.dev/github.com/go-coldbrew/core#SetupReleaseName
Loading