Stefan Prodan
614f74f6df
Update opentelemetry dependencies
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2024-05-23 11:25:26 +03:00
dependabot[bot] and GitHub
70335812c6
build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.22.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-19 13:23:50 +00:00
Michael Kebe and Michael Kebe
16191504d1
Removed reference to localhost from swagger
...
Now it is possible to use the swagger webinterface
running on a host other than localhost e.g. in docker
or kubernetes.
Removed the @host line from pkg/api/server.go and
ran make swagger.
Fixes probably #179
2024-04-09 08:54:38 +02:00
Stefan Prodan
44942884c3
Update dependencies to Go 1.22
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2024-03-26 14:19:26 +02:00
dependabot[bot] and GitHub
2b936e6700
build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0
...
Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-13 23:03:41 +00:00
Stefan Prodan
101e371e96
Update Go dependencies
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2023-12-17 15:14:43 +02:00
dependabot[bot] and GitHub
c5494104a1
Bump google.golang.org/grpc from 1.58.2 to 1.58.3
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.58.2 to 1.58.3.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.58.2...v1.58.3 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-25 21:27:33 +00:00
dependabot[bot] and GitHub
fa75fc0520
Bump golang.org/x/net from 0.15.0 to 0.17.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-11 23:14:03 +00:00
Stefan Prodan
bfa42afa1f
Bump Go to 1.21
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2023-10-02 20:46:06 +03:00
Stefan Prodan
590987704e
Update open telemetry packages
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2023-10-02 20:45:20 +03:00
Stefan Prodan
0278e11a05
Update dependencies
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2023-09-22 23:24:32 +03:00
Stefan Prodan
c14b116dea
Update dependencies
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2023-08-07 16:20:42 +03:00
Stefan Prodan
fedab0de38
Update dependencies
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2023-06-22 18:36:47 +03:00
Stefan Prodan
2a6533c68a
Update dependencies
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2023-05-03 17:00:48 +03:00
Stefan Prodan
bbce3f3f67
Update dependencies
...
- github.com/spf13/cobra v1.7.0
- github.com/swaggo/http-swagger v1.3.4
- github.com/swaggo/swag v1.8.12
- google.golang.org/grpc v1.54.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2023-04-06 10:35:43 +03:00
Stefan Prodan
8187f79475
Update open telemetry dependencies
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2023-03-09 10:37:39 +02:00
Stefan Prodan
c8c7a6d1bb
Update dependencies
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2023-02-21 10:37:19 +02:00
Stefan Prodan
298c1ae941
Update dependencies
...
- Replace `dgrijalva/jwt-go` with `golang-jwt/jwt`
- Replace `ioutil` with `io` and `os`
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2023-02-03 11:42:17 +02:00
Stefan Prodan
aa815625d9
Update dependencies
...
Fix for golang.org/x/net CVEs
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2022-12-21 11:18:30 +02:00
Stefan Prodan
71869089fa
Update dependencies
...
- github.com/prometheus/client_golang v1.14.0
- github.com/spf13/cobra v1.6.1
- github.com/spf13/viper v1.14.0
- go.opentelemetry.io/contrib/propagators/ot v1.11.1
- golang.org/x/net v0.2.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2022-11-09 12:59:22 +02:00
Stefan Prodan
389c86ee93
Update dependencies
...
Fix CVE-2022-32149 of `golang.org/x/text`
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2022-10-20 12:00:33 +03:00
Kajetan
0d62402ae9
Graceful shutdown
2022-10-18 17:31:51 +02:00
Stefan Prodan
f1168c4946
Update dependencies
...
Fix for golang.org/x/net CVE-2022-27664
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2022-09-29 12:36:35 +03:00
Stefan Prodan
bbb081b0e1
Update dependencies
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2022-08-15 15:06:41 +03:00
Stefan Prodan
f2e0aa154d
Update gopkg.in/yaml.v3 to v3.0.1
...
Fix CVE-2022-28948
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2022-07-28 12:59:12 +03:00
Stefan Prodan
394c40e3ff
Update Swagger packages and definition
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2022-07-27 18:59:22 +03:00
FlomoN
678a42ce34
recreate docs
2022-06-20 18:26:34 +02:00
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 and GitHub
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 and Rajat Vig
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 and GitHub
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