Commit 9f0bc2b
committed
Add UUID and server info to introspection
Closes #1862
This adds a new rpc to the introspection service to provide server
information with a generated UUID that is done on demand and the os and
arch of the server.
ctr output:
```bash
> sudo ctr version
Client:
Version: v1.2.0-802-g57821695.m
Revision: 5782169.m
Server:
Version: v1.2.0-802-g57821695.m
Revision: 5782169.m
UUID: 92e982a9-f13e-4a2c-9032-e69b27fed454
OS: linux
ARCH: amd64
```
Signed-off-by: Michael Crosby <[email protected]>1 parent dce8541 commit 9f0bc2b
6 files changed
Lines changed: 364 additions & 35 deletions
File tree
- api
- services/introspection/v1
- cmd/ctr/commands/version
- services/introspection
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2368 | 2368 | | |
2369 | 2369 | | |
2370 | 2370 | | |
| 2371 | + | |
2371 | 2372 | | |
2372 | 2373 | | |
2373 | 2374 | | |
| |||
2471 | 2472 | | |
2472 | 2473 | | |
2473 | 2474 | | |
| 2475 | + | |
| 2476 | + | |
| 2477 | + | |
| 2478 | + | |
| 2479 | + | |
| 2480 | + | |
| 2481 | + | |
| 2482 | + | |
| 2483 | + | |
| 2484 | + | |
| 2485 | + | |
| 2486 | + | |
| 2487 | + | |
2474 | 2488 | | |
2475 | 2489 | | |
2476 | 2490 | | |
2477 | 2491 | | |
2478 | 2492 | | |
2479 | 2493 | | |
2480 | 2494 | | |
| 2495 | + | |
| 2496 | + | |
| 2497 | + | |
| 2498 | + | |
| 2499 | + | |
2481 | 2500 | | |
2482 | 2501 | | |
2483 | 2502 | | |
2484 | 2503 | | |
2485 | | - | |
| 2504 | + | |
2486 | 2505 | | |
2487 | 2506 | | |
2488 | 2507 | | |
| |||
0 commit comments