Commit graph

1200 commits

Author SHA1 Message Date
Joachim Bauch edd042b00e
Merge pull request #670 from strukturag/proxy-load
Calculate proxy load based on maximum bandwidth.
2024-02-27 15:25:46 +01:00
Joachim Bauch 8f4fc2db6d
Calculate proxy load based on maximum bandwidth.
Take maximum bandwidth of connected clients into account when calculating
load as screensharing requires more than regular audio/video.
2024-02-27 15:20:17 +01:00
Joachim Bauch 7d09c71ab9
Strongly type "StreamType". 2024-02-27 15:20:14 +01:00
Joachim Bauch 26a65cedd1
Merge pull request #671 from strukturag/fix-flaky-static-proxy-dns
Fix flaky "TestProxyConfigStaticDNS".
2024-02-27 15:19:57 +01:00
Joachim Bauch 9010e91ff4
Fix flaky "TestProxyConfigStaticDNS".
Problem was caused by the initial wakeup check sometimes running,
clearing the expected events too soon.
2024-02-27 15:10:42 +01:00
Joachim Bauch da00080303
Merge pull request #668 from strukturag/http-client-connections-metrics
Add metrics for current number of HTTP client connections.
2024-02-27 11:48:39 +01:00
Joachim Bauch 62b54a85ed
Add metrics for current number of HTTP client connections. 2024-02-27 09:14:49 +01:00
Joachim Bauch 3ea60cfe31
Merge pull request #667 from strukturag/dnsmonitor-port
Support ports in full URLs for DNS monitor.
2024-02-27 09:00:49 +01:00
Joachim Bauch 1f8b536c8a
Split port from hostname in full urls. 2024-02-27 08:53:03 +01:00
Joachim Bauch 8385211fa2
Need to start DNS monitor. 2024-02-27 08:50:37 +01:00
Joachim Bauch f5007df0ad
Merge pull request #664 from strukturag/dependabot/go_modules/google.golang.org/grpc-1.62.0
build(deps): Bump google.golang.org/grpc from 1.61.1 to 1.62.0
2024-02-25 20:42:55 +01:00
dependabot[bot] 8b49cf8581
build(deps): Bump google.golang.org/grpc from 1.61.1 to 1.62.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.61.1 to 1.62.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.1...v1.62.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-22 20:39:45 +00:00
Joachim Bauch 0f980f2894
Merge pull request #662 from strukturag/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.10.11
build(deps): Bump github.com/nats-io/nats-server/v2 from 2.10.10 to 2.10.11
2024-02-22 21:37:22 +01:00
dependabot[bot] 6ac065f603
build(deps): Bump github.com/nats-io/nats-server/v2
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.10.10 to 2.10.11.
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/.goreleaser.yml)
- [Commits](https://github.com/nats-io/nats-server/compare/v2.10.10...v2.10.11)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-22 14:03:03 +00:00
Joachim Bauch ae37a56e34
Merge pull request #663 from strukturag/improve-dnsmonitor
Minor improvements to DNS monitor
2024-02-22 15:01:44 +01:00
Joachim Bauch 45be0ad2fd
Remove unnecessary state variable. 2024-02-22 14:13:05 +01:00
Joachim Bauch 29b0b06f6d
Stopping the static proxy config should unregister from DNS monitor. 2024-02-22 14:06:05 +01:00
Joachim Bauch 7e613f831b
"Stop" should wait until stopped in DNS monitor. 2024-02-22 14:05:23 +01:00
Joachim Bauch 2e8b0dfe25
Merge pull request #658 from strukturag/dependabot/github_actions/golangci/golangci-lint-action-4.0.0
build(deps): Bump golangci/golangci-lint-action from 3.7.0 to 4.0.0
2024-02-19 10:30:12 +01:00
Joachim Bauch 2348297f36
Merge pull request #659 from strukturag/dependabot/go_modules/google.golang.org/grpc-1.61.1
build(deps): Bump google.golang.org/grpc from 1.61.0 to 1.61.1
2024-02-19 10:29:51 +01:00
dependabot[bot] e0fe89f0f2
build(deps): Bump google.golang.org/grpc from 1.61.0 to 1.61.1
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.61.0 to 1.61.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.0...v1.61.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-14 20:11:26 +00:00
dependabot[bot] e0b3797ea9
build(deps): Bump golangci/golangci-lint-action from 3.7.0 to 4.0.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.7.0 to 4.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.7.0...v4.0.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-09 20:28:43 +00:00
Joachim Bauch 27ebf9e037
Merge pull request #653 from strukturag/improve-makefile
Improve Makefile
2024-02-07 14:41:10 +01:00
Joachim Bauch f071a64797
make: Mark generated files as ".SECONDARY". 2024-02-07 13:08:42 +01:00
Joachim Bauch 6488ba1cf5
make: Fix "BINDIR" getting always created. 2024-02-07 13:08:42 +01:00
Joachim Bauch b710d1704e
make: Mark "common" as ".PHONY". 2024-02-07 13:08:41 +01:00
Joachim Bauch 4a762a3264
make: Enable ".DELETE_ON_ERROR". 2024-02-07 13:08:41 +01:00
Joachim Bauch 55aee6e5dc
make: Keep generated easyjson files in variable. 2024-02-07 13:08:40 +01:00
Joachim Bauch 2b62c9e3c1
make: Automatically detect names of generated proto files. 2024-02-07 13:08:40 +01:00
Joachim Bauch 1a0e51499f
make: Split GRPC / regular PB file generation so it can be parallelized. 2024-02-07 13:08:39 +01:00
Joachim Bauch 2430421006
make: Update easyjson / prococ generators if dependencies changed. 2024-02-07 13:08:39 +01:00
Joachim Bauch 5f71a9a0ab
Merge pull request #654 from strukturag/dnsmonitor-deadlock
Fix deadlock when entry is removed while receiver holds lock in lookup.
2024-02-07 13:08:28 +01:00
Joachim Bauch cf5ee8e4a1
Fix deadlock when entry is removed while receiver holds lock in lookup. 2024-02-07 13:03:41 +01:00
Joachim Bauch c85b31bd24
Merge pull request #649 from strukturag/dependabot/go_modules/etcd-1dbe10e201
build(deps): Bump the etcd group with 4 updates
2024-02-07 10:16:06 +01:00
Joachim Bauch 5ec7fcb594
Merge pull request #651 from strukturag/golang-1.22
CI: Also test with Golang 1.22
2024-02-07 10:15:32 +01:00
Joachim Bauch 978024e799
CI: Also test with Golang 1.22 2024-02-07 10:08:34 +01:00
Joachim Bauch d71ca35e97
Merge pull request #652 from strukturag/fix-proxy-config-test-race
Fix race condition when accessing "expected" in proxy_config tests.
2024-02-07 10:08:04 +01:00
Joachim Bauch 48424bf290
Fix race condition when accessing "expected" in proxy_config tests. 2024-02-07 10:01:12 +01:00
Joachim Bauch a3ba73d764
Merge pull request #650 from strukturag/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.10.10
build(deps): Bump github.com/nats-io/nats-server/v2 from 2.10.9 to 2.10.10
2024-02-07 08:45:31 +01:00
Joachim Bauch 9da78a1a8b
docker: Fix typo in readme. 2024-02-07 08:41:05 +01:00
dependabot[bot] fa0cb51c8e
build(deps): Bump github.com/nats-io/nats-server/v2
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.10.9 to 2.10.10.
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/.goreleaser.yml)
- [Commits](https://github.com/nats-io/nats-server/compare/v2.10.9...v2.10.10)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-02 20:48:03 +00:00
dependabot[bot] d0a3ce0616
build(deps): Bump the etcd group with 4 updates
Bumps the etcd group with 4 updates: [go.etcd.io/etcd/api/v3](https://github.com/etcd-io/etcd), [go.etcd.io/etcd/client/pkg/v3](https://github.com/etcd-io/etcd), [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd) and [go.etcd.io/etcd/server/v3](https://github.com/etcd-io/etcd).


Updates `go.etcd.io/etcd/api/v3` from 3.5.11 to 3.5.12
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.11...v3.5.12)

Updates `go.etcd.io/etcd/client/pkg/v3` from 3.5.11 to 3.5.12
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.11...v3.5.12)

Updates `go.etcd.io/etcd/client/v3` from 3.5.11 to 3.5.12
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.11...v3.5.12)

Updates `go.etcd.io/etcd/server/v3` from 3.5.11 to 3.5.12
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.11...v3.5.12)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/api/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: etcd
- dependency-name: go.etcd.io/etcd/client/pkg/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: etcd
- dependency-name: go.etcd.io/etcd/client/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: etcd
- dependency-name: go.etcd.io/etcd/server/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: etcd
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-31 20:22:25 +00:00
Joachim Bauch 2595420db1
Update changelog for 1.2.3 2024-01-31 09:35:31 +01:00
Joachim Bauch 32ccc2e50e
Merge pull request #628 from strukturag/dnsmonitor
Refactor DNS monitoring
2024-01-30 17:08:57 +01:00
Joachim Bauch 0cd4099f7b
Add locking to "wakeupChanForTesting" of GRPC clients. 2024-01-30 17:03:46 +01:00
Joachim Bauch c4fce20678
Add lock to entries to prevent concurrent modifications. 2024-01-30 17:03:46 +01:00
Joachim Bauch 2c4cdedcae
Don't run monitor if empty. 2024-01-30 17:03:45 +01:00
Joachim Bauch b1c78f6e9d
Use DNS monitor from static GRPC clients configuration. 2024-01-30 17:03:45 +01:00
Joachim Bauch 8db4068989
make: Quote regular expression of tests to run. 2024-01-30 17:03:44 +01:00
Joachim Bauch 528a09e5da
Use DNS monitor from static proxy configuration. 2024-01-30 17:03:43 +01:00