withOtlpServicePort
Method
interface KubernetesAspireDashboardResource { // ... omitted for brevity withOtlpServicePort( grpcPort?: number, httpPort?: number): KubernetesAspireDashboardResource;}Signature
method
withOtlpServicePort builderSets the Kubernetes Service ports for the Aspire Dashboard OTLP endpoints.
withOtlpServicePort( grpcPort?: number, httpPort?: number): KubernetesAspireDashboardResourceParameters
grpcPort numberoptionalThe Service port for the OTLP gRPC endpoint. If `null`, the Service port defaults to the container port (18889).httpPort numberoptionalThe Service port for the OTLP HTTP endpoint. If `null`, the Service port defaults to the container port (18890).Returns
KubernetesAspireDashboardResource Applies to
This method applies to the following types: