Stefan Prodan
|
e55ebd258d
|
Update dependencies
Fix CVE-2022-28948
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
|
2022-05-31 12:42:25 +03:00 |
|
Stefan Prodan
|
f4199ab8bc
|
Update Go to 1.18 and Alpine to 3.16
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
|
2022-05-24 12:09:08 +03:00 |
|
Stefan Prodan
|
63ac69ea69
|
Update dependencies
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
|
2022-04-18 09:49:42 +03:00 |
|
Stefan Prodan
|
be80733cea
|
Disable tracing by default
To enable OTEL tracing, the `--otel-service-name` flag must be set.
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
|
2022-03-12 12:58:39 +02:00 |
|
Stefan Prodan
|
8572a390f7
|
Merge pull request #170 from rajatvig/otel
Add support for OpenTelemetry to podinfo http API
|
2022-03-12 12:05:16 +02:00 |
|
Stefan Prodan
|
170b912d25
|
Update Go to v1.17
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
|
2022-03-09 15:06:55 +02:00 |
|
Rajat Vig
|
ab9f7410c2
|
Get a docker-compose for example; Port code to otel-grpc
|
2021-12-22 01:09:49 +00:00 |
|
Rajat Vig
|
3970a3a323
|
Add noop tracer to the mockServer; migrate to go 1.17
|
2021-12-16 13:37:01 +00:00 |
|
Ilya Dmitrichenko
|
61d6ed42f5
|
Add OpenTelemetry tracer
|
2021-12-16 12:39:10 +00:00 |
|
Stefan Prodan
|
f168e1909b
|
Update dependencies
github.com/spf13/cobra v1.2.1
github.com/spf13/viper v1.8.1
go.uber.org/zap v1.19.1
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
|
2021-10-20 11:03:43 +03:00 |
|
Stefan Prodan
|
dc97765557
|
Update dependencies
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
|
2021-06-16 14:37:41 +03:00 |
|
Stefan Prodan
|
6a78560d28
|
Update dgrijalva/jwt-go to v4 (#133)
Fix for CVE-2020-26160 https://avd.aquasec.com/nvd/cve-2020-26160/
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
|
2021-05-13 15:30:43 +03:00 |
|
Stefan Prodan
|
885a35eebf
|
Update Go to v1.16
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
|
2021-03-21 13:37:26 +02:00 |
|
Stefan Prodan
|
06f2276501
|
Update packages
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
|
2020-10-28 11:24:52 +02:00 |
|
stefanprodan
|
5cd072243d
|
Update Go to v1.15
|
2020-09-20 13:36:57 +03:00 |
|
stefanprodan
|
73b658d711
|
Add cache API
- implement cache with Redis
- add cache-server to args and config
- add Redis deployment to webapp overlays
|
2020-05-16 09:53:17 +03:00 |
|
stefanprodan
|
2c7029cf35
|
Update go and alpine
- update go to 1.14
- update alpine to 3.11
- update packages
|
2020-03-24 12:50:15 +02:00 |
|
Yusuke Kuoka
|
0ff49e5057
|
feat: Add H2C support
`podinfo --h2c` allows upgrading a HTTP/1.1 connection to HTTP/2 Cleartext.
This allows `podinfo` to be used in e.g. a H2C load-test like `echo "GET http://localhost:9898/status/200" | vegeta -h2c`, or a H2C connectivity test like done with `curl -v http2 http://localhost:9898/status/200`.
I have manually verified this to work by running `curl -v --http2` on macOS and seeing the H2C upgrade happens onl when `-h2c` is provided to `podinfo`.
Without `-h2c`:
```
$ curl -v --http2 localhost:9898/status/200
* Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 9898 (#0)
> GET /status/200 HTTP/1.1
> Host: localhost:9898
> User-Agent: curl/7.54.0
> Accept: */*
> Connection: Upgrade, HTTP2-Settings
> Upgrade: h2c
> HTTP2-Settings: AAMAAABkAARAAAAAAAIAAAAA
>
< HTTP/1.1 200 OK
< Content-Type: application/json; charset=utf-8
< X-Content-Type-Options: nosniff
< Date: Mon, 04 Nov 2019 04:58:01 GMT
< Content-Length: 19
<
{
"status": 200
* Connection #0 to host localhost left intact
}
```
With `-h2c`:
```
$ curl -v --http2 localhost:9898/status/200
* Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 9898 (#0)
> GET /status/200 HTTP/1.1
> Host: localhost:9898
> User-Agent: curl/7.54.0
> Accept: */*
> Connection: Upgrade, HTTP2-Settings
> Upgrade: h2c
> HTTP2-Settings: AAMAAABkAARAAAAAAAIAAAAA
>
< HTTP/1.1 101 Switching Protocols
< Connection: Upgrade
< Upgrade: h2c
* Received 101
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
< HTTP/2 200
< content-type: application/json; charset=utf-8
< x-content-type-options: nosniff
< content-length: 19
< date: Mon, 04 Nov 2019 04:58:28 GMT
<
{
"status": 200
* Connection #0 to host localhost left intact
}
`
|
2019-11-04 14:10:50 +09:00 |
|
stefanprodan
|
319d57cb68
|
Update to go 1.13
|
2019-09-27 17:04:39 +03:00 |
|
stefanprodan
|
158d6e82da
|
Add gRPC health server
|
2019-09-05 00:20:28 +03:00 |
|
stefanprodan
|
2479134e78
|
Implement swagger support
- add swagger definitions for all API routes
- self-host the swagger UI on `/swagger/`
- serve swagger spec on `/swagger.json`
|
2019-08-07 14:17:35 +03:00 |
|
stefanprodan
|
c287ab7daf
|
Rename imports and use go modules
|
2019-08-06 15:05:15 +03:00 |
|