Tracing Configuration WithTracerProvider WithPropagator Usage Tracing for Server Tracing for Client References Tracing We use OpenTelemetry for distributed tracing. C...
Metrics Configuration WithSeconds() WithRequests() Usage Prometheus To configure metrics in servers To configure metrics in clients References Metrics Metrics middlewa...
Ent Install Ent Create Schema Create DB Connection Client References Ent Any ORM or library is supported in Kratos project for data accessing. Please refer to the examples ...
Method 1: Use plug-ins to provide the swagger API Installation Usage Method 2: Use protoc to generate swagger.json Installation Generation Usage The framework provides open...