All Projects → ContaAzul → Turbine Ec2

ContaAzul / Turbine Ec2

Licence: apache-2.0
Turbine Instance Discovery based on EC2 tags

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Turbine Ec2

Opossum
Node.js circuit breaker - fails fast ⚡️
Stars: ✭ 473 (+1719.23%)
Mutual labels:  hystrix
Spring Cloud Examples
Spring Cloud 学习案例,服务发现、服务治理、链路追踪、服务监控等
Stars: ✭ 5,829 (+22319.23%)
Mutual labels:  hystrix
Spring Petclinic Microservices
Distributed version of Spring Petclinic built with Spring Cloud
Stars: ✭ 814 (+3030.77%)
Mutual labels:  hystrix
School Of Sre
At LinkedIn, we are using this curriculum for onboarding our entry-level talents into the SRE role.
Stars: ✭ 5,141 (+19673.08%)
Mutual labels:  sre
Circuit
An efficient and feature complete Hystrix like Go implementation of the circuit breaker pattern.
Stars: ✭ 542 (+1984.62%)
Mutual labels:  hystrix
Springcloud
基于SpringCloud2.1的微服务开发脚手架,整合了spring-security-oauth2、nacos、feign、sentinel、springcloud-gateway等。服务治理方面引入elasticsearch、skywalking、springboot-admin、zipkin等,让项目开发快速进入业务开发,而不需过多时间花费在架构搭建上。持续更新中
Stars: ✭ 6,997 (+26811.54%)
Mutual labels:  hystrix
Devops Readme.md
What to Read to Learn More About DevOps
Stars: ✭ 398 (+1430.77%)
Mutual labels:  sre
Sample Camel Spring Boot
three samples in different branches that illustrates usage of apache camel as microservice framework providing integration with consul, hystrix, ribbon and other tools
Stars: ✭ 24 (-7.69%)
Mutual labels:  hystrix
Jaeger Ui
Web UI for Jaeger
Stars: ✭ 639 (+2357.69%)
Mutual labels:  sre
Springcloud Learning
Spring Cloud基础教程,持续连载更新中
Stars: ✭ 6,839 (+26203.85%)
Mutual labels:  hystrix
Light Reading Cloud
📚 轻松阅读,基于SpringCloud生态开发的阅读类APP微服务实战项目,涉及 SpringCloud-Gateway、Nacos、OpenFeign、Hystrix、Jwt、ElasticSearch 等技术的应用
Stars: ✭ 506 (+1846.15%)
Mutual labels:  hystrix
Jnitrace
A Frida based tool that traces usage of the JNI API in Android apps.
Stars: ✭ 534 (+1953.85%)
Mutual labels:  sre
Awesome Sre
A curated list of Site Reliability and Production Engineering resources.
Stars: ✭ 7,687 (+29465.38%)
Mutual labels:  sre
Howtheysre
A curated collection of publicly available resources on how technology and tech-savvy organizations around the world practice Site Reliability Engineering (SRE)
Stars: ✭ 6,962 (+26676.92%)
Mutual labels:  sre
Ops doc
运维简洁实用手册
Stars: ✭ 819 (+3050%)
Mutual labels:  sre
Rundeck
Enable Self-Service Operations: Give specific users access to your existing tools, services, and scripts
Stars: ✭ 4,426 (+16923.08%)
Mutual labels:  sre
Simplemall
基于SpringCloud的微服务架构实战案例项目,以一个简单的购物流程为示例,融合spring cloud 相关组件,如spring-cloud-netflix、swagger等
Stars: ✭ 687 (+2542.31%)
Mutual labels:  hystrix
Postgresql exporter
A Prometheus exporter for some postgresql metrics
Stars: ✭ 26 (+0%)
Mutual labels:  sre
Black Belt
Internal toolbelt on steroids (idle since September 2018)
Stars: ✭ 6 (-76.92%)
Mutual labels:  sre
Kubernetes Failure Stories
Compilation of public failure/horror stories related to Kubernetes
Stars: ✭ 6,217 (+23811.54%)
Mutual labels:  sre

turbine-ec2 Build Status

Turbine Instance Discovery based on EC2 tags.

Why

At ContaAzul, we have used Netflix/Hystrix for circuit-breakers and Netflix/Turbine to aggregate Hystrix streams.

Turbine has Eureka InstanceDiscovery, but we don't use it, nor plan to use it in near future.

It seemed simple enough to just use our already defined tags to wire services to Turbine.

That's what this project does.

How it works

You will need to configure the config.properties file just as before. The difference is that you can specify which tag and value should be looked up to find instances of each cluster.

Example:

turbine.aggregator.clusterConfig=my-svc,other-svc
turbine.instanceUrlSuffix=:8080/hystrix.stream

# generic tag, used whenever a specific tag is not specified
turbine.ec2.tag=SERVICE

# specific tag and tag value for `my-svc`
turbine.ec2.tag.my-svc=SVC
turbine.ec2.value.my-svc=svc-value

# needed to access AWS api
turbine.ec2.aws.access=AWS_ACCESS_KEY
turbine.ec2.aws.secret=AWS_SECRET_KEY
turbine.ec2.aws.region=REGION

If you set a custom tag value via turbine.ec2.value.${cluster}, the value of this property will be used as filter. Otherwise, the cluster name will be used.

If you set a custom tag name via turbine.ec2.tag.${cluster}, the given value will be used as tag:${tag_you_provided}. Otherwise, the value of turbine.ec2.tag will be used instead. If none is set, an exception will be thrown.

That's it.

Deploying

You can either download the turbine-ec2-core.jar and wire it with your own code, or download the turbine-ec2-web.war and deploy it in a servlet container.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].