Compare commits
No commits in common. "main" and "add-reading" have entirely different histories.
main
...
add-readin
1 changed files with 4 additions and 22 deletions
26
README.md
26
README.md
|
@ -1,11 +1,8 @@
|
|||
# OpenTSDB Auth Proxy
|
||||
|
||||
This is a simple read/write proxy for the [OpenTSDB](https://github.com/OpenTSDB/opentsdb)
|
||||
This is a simple proxy for the [OpenTSDB](https://github.com/OpenTSDB/opentsdb)
|
||||
time series database. It handles authentication and authorization.
|
||||
|
||||
**Warning**: This proxy is currently half baked. It works for my needs though.
|
||||
if you need more features, don't hesitate to make a PR ;-)
|
||||
|
||||
This proxy can be publicly exposed. When sending data to opentsdb, set the endpoint
|
||||
to this proxy instead. Each client will send the data alongside an authentication
|
||||
token.
|
||||
|
@ -13,24 +10,8 @@ token.
|
|||
If the token matches the host and the metric matches the list of allowed metrics,
|
||||
then the request is forwarded to the opentsdb server.
|
||||
|
||||
Supported routes:
|
||||
|
||||
- POST `/put`
|
||||
- GET `/query`
|
||||
|
||||
Supported authentications:
|
||||
|
||||
- sha256
|
||||
|
||||
Supported authorizations:
|
||||
|
||||
- `metrics`: read & write
|
||||
- `read_metrics`
|
||||
- `write_metrics`
|
||||
|
||||
|
||||
|
||||
## Container images
|
||||
## Images
|
||||
|
||||
You can find the images on:
|
||||
|
||||
|
@ -44,9 +25,10 @@ Take a look at the provided [sample configuration](./example-cfg.yml)
|
|||
|
||||
### Authentication tokens
|
||||
|
||||
Right now, one authentication token is supported:
|
||||
Right now, two authentication tokens are supported:
|
||||
|
||||
- sha256
|
||||
- plain (not recommended)
|
||||
|
||||
#### Sha256
|
||||
|
||||
|
|
Loading…
Reference in a new issue