Created
February 27, 2017 03:52
-
-
Save ewilde/6c0f1d6ed0bbbc27e9ed50b667c38729 to your computer and use it in GitHub Desktop.
Lookup consul using path
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Do service discovery lookups against the Consul service catalog. | |
namers: | |
- kind: io.l5d.consul | |
includeTag: false | |
useHealthCheck: false | |
routers: | |
- protocol: http | |
label: /http-consul | |
identifier: | |
kind: io.l5d.path | |
segments: 1 | |
consume: true | |
dtab: | | |
/svc => /#/io.l5d.consul/dc1; | |
servers: | |
- port: 4140 | |
ip: 0.0.0.0 | |
telemetry: | |
- kind: io.l5d.tracelog | |
sampleRate: 0.2 | |
level: TRACE | |
- kind: io.l5d.recentRequests | |
sampleRate: 1.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment