#support

Using grpcExporter in Web with Separate Endpoint

TLDR Pruthvi asked about using grpcExporter in web and resolved it by adding a separate endpoint with a specific configuration.

Powered by Struct AI
2
8mo
Solved
Join the chat
Mar 30, 2023 (8 months ago)
Pruthvi
Photo of md5-a7605b093448e06efb0a1c150153cad6
Pruthvi
01:13 PM
Or is there a way to use grpcExporter in web ?
02:42
Pruthvi
02:42 PM
this is resolved by adding separate endpoint using this config
apiVersion: 
kind: Ingress
metadata:
  name: otel-collector-http-ingress
  annotations:
    : "HTTP"
    : letsencrypt-prod
    : "true"
    : nginx
    : "true"
spec:
  rules:
  - host: 
    http:
      paths:
      - path: /
        pathType: ImplementationSpecific
        backend:
          service:
            name: signozagent-otel-collector
            port: 
              name: otlp-http
  tls:
  - hosts:
    - 
    secretName: otel-http-secret