linkerd2/controller
Alejandro Pedraza f3b1ebfa99
Separate observability API (#5510)
* Separate observability API

Closes #5312

This is a preliminary step towards moving all the observability API into `/viz`, by first moving its protobuf into `viz/metrics-api`. This should facilitate review as the go files are not moved yet, which will happen in a followup PR. There are no user-facing changes here.

- Moved `proto/common/healthcheck.proto` to `viz/metrics-api/proto/healthcheck.prot`
- Moved the contents of `proto/public.proto` to `viz/metrics-api/proto/viz.proto` except for the `Version` Stuff.
- Merged `proto/controller/tap.proto` into `viz/metrics-api/proto/viz.proto`
- `grpc_server.go` now temporarily exposes `PublicAPIServer` and `VizAPIServer` interfaces to separate both APIs. This will get properly split in a followup.
- The web server provides handlers for both interfaces.
- `cli/cmd/public_api.go` and `pkg/healthcheck/healthcheck.go` temporarily now have methods to access both APIs.
- Most of the CLI commands will use the Viz API, except for `version`.

The other changes in the go files are just changes in the imports to point to the new protobufs.

Other minor changes:
- Removed `git add controller/gen` from `bin/protoc-go.sh`
2021-01-13 14:34:54 -05:00
..
api Separate observability API (#5510) 2021-01-13 14:34:54 -05:00
cmd Add opaque ports to destination service updates (#5294) 2020-12-18 12:38:59 -05:00
gen Separate observability API (#5510) 2021-01-13 14:34:54 -05:00
heartbeat Fix Heartbeat mem and cpu stats (#5042) 2020-10-08 16:31:16 -05:00
identity Have webhooks refresh their certs automatically (#5282) 2020-12-04 16:25:59 -05:00
k8s Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
proxy-injector Fix CLI install/upgrade overriding settings in HA (#5399) 2020-12-18 12:11:52 -05:00
script/destination-client Print identity in destination client and fix proxy-identity log line (#4873) 2020-08-13 13:49:55 -07:00
sp-validator Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
tap Separate observability API (#5510) 2021-01-13 14:34:54 -05:00
webhook Have the tap APIServer refresh its cert automatically (#5388) 2020-12-16 17:46:14 -05:00
Dockerfile Separate observability API (#5510) 2021-01-13 14:34:54 -05:00