pg-yang commented on PR #83:
URL: 
https://github.com/apache/skywalking-showcase/pull/83#issuecomment-1273407908

   Yes, this is whole configuration example 
   
   ```yaml 
   receivers:
     prometheus:
       config: 
        scrape_configs:
          - job_name: 'apisix-monitoring'
            scrape_interval: 5s
            metrics_path: "/apisix/prometheus/metrics"
            static_configs:
              - targets: ['apisix:9091']
   processors:
   # 
https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/resourceprocessor/README.md
            
     resource/skywalking-service:
       attributes:
       - key: skywalking_service_name
         value: apisix-frontend
         action: insert                     
   exporters:
     otlp:
       endpoint: oap:11800
       tls:
         insecure: true
   service:
     pipelines:
       metrics:
         receivers:
         - prometheus
         processors:
         - resource/skywalking-service
         exporters:
         - otlp
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to