add host support

This commit is contained in:
2024-09-25 00:48:47 +03:00
parent c3d6510a7d
commit 348c737163

View File

@ -110,6 +110,7 @@ func makeServiceResource(ctx context.Context) (*resource.Resource, error) {
return "bigstats:kuriweb", nil return "bigstats:kuriweb", nil
}), }),
), ),
resource.WithHost(),
resource.WithAttributes( resource.WithAttributes(
semconv.ServiceName("bigstats:kuriweb"), semconv.ServiceName("bigstats:kuriweb"),
semconv.DeploymentEnvironment("production"), semconv.DeploymentEnvironment("production"),