092a66a3fb
#7 feat: Add user resource w/database as storage
...
ci/woodpecker/push/ci Pipeline was successful
The User resource itself is just more or less a place holder for now.
But the idea is to get some proper e2e example to build off of with the basics in place:
- [x] sqlx for database queries
- [x] sqlx schema migration
- [x] type safe dropshot api
Reviewed-on: #7
2025-01-14 14:25:52 +01:00
9b7e1fb226
feat: Add user resource w/database as storage
ci/woodpecker/pr/ci Pipeline was successful
2025-01-14 14:24:35 +01:00
3b04b82998
chore(clippy): cleanup
ci/woodpecker/push/ci Pipeline was successful
2025-01-12 14:38:08 +01:00
c460e4b992
chore: typo
ci/woodpecker/push/ci Pipeline was successful
2025-01-09 00:41:26 +01:00
3ccfb881b5
feat(telemetry): add resource detection and better default
ci/woodpecker/push/ci Pipeline was successful
2025-01-08 21:53:32 +01:00
e297e16cfb
feat(direnv): opentelemetry env vars for development
ci/woodpecker/push/ci Pipeline failed
2025-01-08 18:55:43 +01:00
7333ced376
feat(controller): use env in clap to allow env var config
ci/woodpecker/push/ci Pipeline failed
2025-01-08 16:41:58 +01:00
a9a4c513f5
feat(controller): add listen-address flag
2025-01-08 16:40:07 +01:00
abd6748703
chore(just): remove unnecessary dev-postgres-reset recipe
ci/woodpecker/push/ci Pipeline was successful
2025-01-08 14:16:03 +01:00
ffe95cb83c
feat(devel): postgresql dev server
ci/woodpecker/push/ci Pipeline was successful
2025-01-08 00:11:21 +01:00
d5ab8058f2
chore(cargo): update dependencies
ci/woodpecker/push/ci Pipeline was successful
2025-01-06 00:28:07 +01:00
d4c5a71367
chore(nix): nix update
2025-01-06 00:20:48 +01:00
cf3dd45f48
chore: fmt
2025-01-06 00:20:15 +01:00
817e940167
chore(nix): remove devshell hook banner
2025-01-06 00:13:43 +01:00
39eb69172f
nix: add nixfmt to devshell
2025-01-06 00:06:33 +01:00
49372f0e58
chore(nix): nix update
ci/woodpecker/push/ci Pipeline failed
2024-12-26 22:47:30 +01:00
ab71064b29
feat(telemetry): mark error field in spans w/errors
ci/woodpecker/push/ci Pipeline failed
2024-12-26 21:10:11 +01:00
86db3cb3a0
feat(instrumentation): Add logging to stderr config
ci/woodpecker/push/ci Pipeline failed
2024-12-25 17:54:57 +01:00
706b6787d3
chore: clean up tracing subscriber setup
ci/woodpecker/push/ci Pipeline failed
2024-12-25 17:15:12 +01:00
b1f701ddf2
feat(telemetry): configure otlp endpoint from flag
ci/woodpecker/push/ci Pipeline failed
2024-12-24 12:16:03 +01:00
441c38b3d5
#4 Use trace-request for dropshot instrumentation
...
ci/woodpecker/push/ci Pipeline was successful
A convenience macro for instrumenting dropshot request handlers.
This is a fork of https://github.com/oxidecomputer/rfd-api/tree/main/trace-request with some changes for flavor:
- Use span fields instead of emitting events at start+end of request
- Name the span based on the attributed function
- A different opinion on field/tag names
Maybe we can/should publish this as a public crate if more people are interested?
Reviewed-on: #4
2024-12-17 11:12:13 +01:00
31c8921aca
Use trace-request for dropshot instrumentation
ci/woodpecker/pr/ci Pipeline was successful
2024-12-17 10:19:29 +01:00
da210ffc16
chore(cargo): update all dependencies
ci/woodpecker/push/ci Pipeline was successful
2024-12-16 20:28:40 +01:00
2998466b5b
chore(nix): nix update
2024-12-16 20:23:05 +01:00
f33fe84909
chore(cargo): remove unused dependencies
ci/woodpecker/push/ci Pipeline was successful
2024-12-16 20:15:10 +01:00
13f23c60f4
chore(cargo): machete config
2024-12-16 20:14:56 +01:00
ffcea325f6
Move instrumentation to common crate
ci/woodpecker/push/ci Pipeline was successful
2024-12-16 20:07:38 +01:00
d8c8b7bb10
chore(nix): Clean up flake.nix
ci/woodpecker/push/ci Pipeline was successful
2024-12-16 13:22:49 +01:00
4aff939cb1
chore(build): add cargo config for mold linker
2024-12-16 12:07:25 +01:00
35aeb1a72c
direnv: use manual reload to prevent unexpected rebuilds
2024-12-15 22:13:04 +01:00
62377e372f
#3 Add progenitor client
...
ci/woodpecker/push/ci Pipeline was successful
Reviewed-on: Patagia/patagia-run#3
2024-12-15 15:31:07 +01:00
b07d037a7d
WIP: Add progenitor client
ci/woodpecker/pr/ci Pipeline was successful
2024-12-15 15:29:49 +01:00
a5e3170d37
chore(rust): update rust to 1.83.0
2024-12-15 12:13:03 +01:00
5d79274cd6
chore(nix): update to nix 24.11
ci/woodpecker/push/ci Pipeline was successful
2024-12-15 11:23:40 +01:00
a4097b7cc3
Add OpenAPI generation xtask
ci/woodpecker/push/ci Pipeline was successful
2024-12-14 17:18:29 +01:00
ac6a53fac9
ci: use just to run checks in development shell
2024-12-14 16:46:51 +01:00
dcd9970b3b
chore: remove otlp logging
...
ci/woodpecker/push/ci Pipeline was successful
Let's stick with traces and metrics for now?
2024-11-30 01:07:42 +01:00
a4b5f734cb
refactor(cargo): move deps to workspace
ci/woodpecker/push/ci Pipeline was successful
2024-11-30 00:16:59 +01:00
b931dac9f5
chore: cleanup
2024-11-29 23:40:49 +01:00
2da3a239cd
Factor out instrumentation code. Add metrics and logging to otel.
ci/woodpecker/push/ci Pipeline was successful
2024-11-28 01:54:45 +01:00
421bed1611
#2 Add otel tracing
...
ci/woodpecker/push/ci Pipeline was successful
Reviewed-on: Patagia/patagia-run#2
2024-11-26 22:46:02 +01:00
a832a28faf
#1 Initial dropshot server
...
ci/woodpecker/push/ci Pipeline was successful
Reviewed-on: Patagia/patagia-run#1
2024-11-26 22:45:55 +01:00
f9b7ee8479
tracing: extract request info into tags
ci/woodpecker/pr/ci Pipeline was successful
2024-11-26 22:06:24 +01:00
2580c202b0
WIP: Add otel tracing
2024-11-26 22:06:24 +01:00
1317c3b721
WIP: Initial dropshot server
ci/woodpecker/pr/ci Pipeline was successful
2024-11-26 21:57:20 +01:00
af28c60984
Project scaffolding
ci/woodpecker/push/ci Pipeline was successful
2024-11-24 23:42:42 +01:00
Patagia
7b273c7245
Initial commit
2024-10-20 17:29:28 +00:00