Files
AFFiNE-Mirror/packages/backend/server/src/metrics/index.ts
liuyi 91efca107a refactor(server): standarderlize metrics and trace with OTEL (#5054)
you can now export span to Zipkin and metrics to Prometheus when developing locally
follow the docs of OTEL: https://opentelemetry.io/docs/instrumentation/js/exporters/

<img width="2357" alt="image" src="https://github.com/toeverything/AFFiNE/assets/8281226/ec615e1f-3e91-43f7-9111-d7d2629e9679">
2023-11-24 15:19:22 +00:00

4 lines
93 B
TypeScript

export * from './metrics';
export { start } from './opentelemetry';
export * from './utils';