tvl-depot/users
Profpatsch 4eeac3cb1d feat(users/Profpatsch): Implement initial otel-dbus proxy
For simplicity’s sake this puts everything into the
alacritty-change-color-scheme script for now.

This implements a simple dbus-opentelemetry proxy adapter, which
allows services to record otel traces without having to depend on the
quite complex otel libraries. Instead, they just send their traces to
the dbus tracing interface, and the service that binds against that
interface forwards the spans to the OTLP collector.

First you create a new Tracer for your service via the `TracerFactory`
interface:

```
> busctl --user call \
    de.profpatsch.otel.Tracer \
    /de/profpatsch/otel/TracerFactory \
    de.profpatsch.otel.TracerFactory CreateTracer \
    s hello
s "/de/profpatsch/otel/tracers/hello"
```

(this corresponds to setting up a tracer with properties in OTEL)

Then, you can use the returned object path to call the `Tracer`
interface proper:

```
< busctl --user call \
    de.profpatsch.otel.Tracer \
    /de/profpatsch/otel/tracers/hello \
    de.profpatsch.otel.Tracer \
    StartSpan \
    s '{"spanId": "111", "name": "111"}'
```

This will create the spans. You can also set their timestamps on the
sending side via `startTime`/`endTime`, but make sure it’s a hrtime
tuple.

Prefer batching multiple spans vie the `BatchSpans` call.

Change-Id: Ie6cfdcb0dc3e2398316a2c1763bc72c1118168b0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12885
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
Reviewed-by: benjaminedwardwebb <benjaminedwardwebb@gmail.com>
2024-12-10 15:34:03 +00:00
..
aaqaishtyaq chore(users/aaqaishtyaq): add OWNERS file 2022-12-10 17:28:57 +00:00
amjoseph feat(users/amjoseph): init 2024-05-11 08:45:13 +00:00
aspen chore(3p/sources): bump channels & overlays (2024-10-23) 2024-10-27 00:17:15 +00:00
azahi feat(users/azahi/pkgs): add bruh 2024-08-27 12:58:56 +00:00
cynthia chore(gerrit): migrate OWNERS files to code-owners style 2022-09-19 11:13:28 +00:00
edef chore(tvix): bump opentelemetry to 0.27 2024-11-23 09:40:21 +00:00
emery feat(tools/eaglemode/plugins/avif): AVIF image plugin 2024-09-03 19:44:05 +00:00
ericvolp12 chore(gerrit): migrate OWNERS files to code-owners style 2022-09-19 11:13:28 +00:00
espes feat(users): add my folder 2024-02-20 06:25:35 +00:00
eta chore(gerrit): migrate OWNERS files to code-owners style 2022-09-19 11:13:28 +00:00
firefly chore(gerrit): migrate OWNERS files to code-owners style 2022-09-19 11:13:28 +00:00
flokli chore(users/flokli/nixos-tvix-cache): switch to Mimir 2024-12-04 22:37:23 +00:00
fogti fix(users): rename zseri -> fogti 2023-07-07 20:06:02 +00:00
j4m3s chore(gerrit): migrate OWNERS files to code-owners style 2022-09-19 11:13:28 +00:00
kranzes chore(3p/sources): bump channels & overlays (2024-11-14) 2024-11-15 14:53:59 +00:00
lukegb chore(users/lukegb/keys): -porcorosso-wsl +lukegb-build +lukegb-ca 2023-03-12 03:35:24 +00:00
padraic-o-mhuiris chore(users/padraic-o-mhuiris): Add OWNERS file 2024-01-30 13:58:46 +00:00
picnoir/tvix-daemon feat(nix-daemon): Implement more nix daemon operations. 2024-11-13 21:21:57 +00:00
Profpatsch feat(users/Profpatsch): Implement initial otel-dbus proxy 2024-12-10 15:34:03 +00:00
qyliss chore(gerrit): migrate OWNERS files to code-owners style 2022-09-19 11:13:28 +00:00
sterni feat(sterni/nix/build): check in toPlainText 2024-12-07 01:06:28 +00:00
tazjin chore(tazjin/dotfiles): remove hyper configuration 2024-12-05 22:14:35 +00:00
wpcarro chore(3p/sources): bump channels & overlays (2024-11-14) 2024-11-15 14:53:59 +00:00
yl3dy feat(users/yl3dy): test gpg-signed commit 2024-08-27 13:28:33 +00:00
tvlbot.jpg chore(users/tazjin): Add avatar for tvlbot 2020-06-14 22:23:04 +00:00