stackdriver-reverse-proxy

Simple HTTP proxy to automatically traces the incoming requests

Github星跟踪图

stackdriver-reverse-proxy

Build Status

stackdriver-reverse-proxy is an HTTP/HTTPS proxy to automatically trace
all the incoming requests.

Installation and usage

$ go get -u github.com/GoogleCloudPlatform/stackdriver-reverse-proxy/cmd/stackdriver-reverse-proxy

Once installed, start the proxy server and target your application server. For example, if
the application server is running on http://service:8080, the following command
will start the proxy at http://localhost:5555:

$ stackdriver-reverse-proxy -project=bamboo-lua-400 -target=http://service:8080 -http=:5555

The authentication is automatically handled if you are running the proxy server
on Google Cloud Platform. If not, see the Application Default Credentials guide to enable ADC.

Overview

Overview

This reverse proxy works as a sidecar. All the incoming requests will be proxied
and delievered to any of your app servers, specified with the -target flag.

The proxy provides:

  • Down sampling and creation of trace headers for the incoming requests.
  • Reporting of latencies to the Stackdriver Trace.
  • Soon: Reporting of metrics such as number of in-flight requests, success rate, request/response size.
  • Soon: Reporting of reporting to the Stackdriver Error Reporting.

Disclaimer

This is not an official Google product and it is in active development.

License

Copyright 2017 Google Inc. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

主要指标

概览
名称与所有者GoogleCloudPlatform/stackdriver-reverse-proxy
主编程语言Go
编程语言Go (语言数: 1)
平台
许可证Apache License 2.0
所有者活动
创建于2017-08-31 18:48:03
推送于2018-03-13 01:44:08
最后一次提交2018-03-12 18:43:55
发布数0
用户参与
星数42
关注者数6
派生数8
提交数27
已启用问题?
问题数2
打开的问题数1
拉请求数7
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?