Skip to content

Instantly share code, notes, and snippets.

@rshriram
rshriram / curl output with Envoy
Last active April 18, 2017 16:04
Envoy proxy configuration to Watson
curl -i -u "FOO":"BAR" "localhost:8081/conversation/api/v1/workspaces?version=2017-04-21"
HTTP/1.1 302 Found
x-backside-transport: OK OK
vary: Accept, Accept-Encoding
date: Tue, 18 Apr 2017 15:31:04 GMT
x-powered-by: Express
location: https://gateway.watsonplatform.net/v1/workspaces?version=2017-04-21
content-type: text/plain;charset=utf-8
server: envoy
set-cookie: YYYREDACTEDYYY; path=/conversation/api; secure; HttpOnly
@rshriram
rshriram / README.md
Last active May 17, 2017 15:03
Envoy - Proof of Concept with Zipkin Tracing

Download the files to a directory and start services using Docker Compose.

docker-compose up -d

Generate some load (run few times with different trace IDs)

curl -H "x-client-trace-id: 23423sfdf3" http://localhost:8000