5 Answer(s)
-
0
Probably, you are running prometheus on docker but not the applications on docker. That's why it can not bind container name to endpoint.
If you are not running the solution on docker, you may have to change the prometheus static_config targets such as -targets: ['auth-server'] to -targets: ['host.docker.internal:44322']
From infrastructure docs. Change all the target hosts to
host:docker.internal:<port>.Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
0
ProductServiceHttpApiHostModule has some missing configuration for mapping metrics end point.
Please update
OnApplicationInitializationmethod:app.UseConfiguredEndpoints();to
app.UseConfiguredEndpoints(endpoints => endpoints.MapMetrics());This is fixed and will be available from next version.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)


