Integration of ENVOY Proxy Dashboard for metrics in Grafana

26 views
Skip to first unread message

saichandu are

unread,
Jul 23, 2024, 6:39:11 AM7/23/24
to envoy-users
Hi Team,

Please help me on below issue

My concern is about ENVOY Proxy API Gateway to implement.
I am not able to implement in grafana cloud.

That's the reason i have launched Grafana as a service in AKS cluster where my Envoy API Gateway is deployed.

And i am accessing my grafana servcie using loadbalancer.

Now i am trying to Integrate Envoy proxy Plugin to see the dashboard metrics in grafana service for that purpose i have used below piece of code:

I need to modify my prometheus.yaml and same as well envoy.yaml file.

prometheus.yaml
scrape_configs:
- jobname: 'envoy' 
  staticconfigs:
  - targets: ['<Envoy Admin Host:Envoy Admin Port>']

envoy.yaml
admin:
accesslogpath: "/tmp/adminaccess.log" 
address: socketaddress:
address: 0.0.0.0
portvalue: 8001 
statssinks:
  name: envoy.statsinks.prometheus 
emitlabels: true

I have implemeted the above one and facing below error:

[1][critical][main] [source/server/server.cc:131] error initializing configuration '/etc/envoy/envoy.yaml': Unable to parse JSON as proto (INVALIDARGUMENT:(statssinks[0].typedconfig): invalid value Invalid type URL, unknown type: envoy.extensions.statsinks.prometheus.v3.PrometheusSink for type Any): {"statssinks":[{"typedconfig":{"emitlabels":true,"@type":"type.googleapis.com/envoy.extensions.statsinks.prometheus.v3.PrometheusSink"},"name":"envoy.stat_sinks.prometheus"}]

If you have any queries on above description, please let me know i can clarify.


Kindly help me on this issue. If any modifications in deployment, please provide the inputs.

Regards
Saichand Are

Yan Avlasov

unread,
Jul 23, 2024, 8:41:28 PM7/23/24
to saichandu are, envoy-users
envoy.stat_sinks.prometheus is not one of Envoy's extensions: https://github.com/envoyproxy/envoy/blob/main/source/extensions/extensions_metadata.yaml

--
You received this message because you are subscribed to the Google Groups "envoy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-users/a8e7f0a6-ff40-4ad8-b5a8-1b692dd3aa30n%40googlegroups.com.

saichandu are

unread,
Jul 25, 2024, 10:01:54 AM7/25/24
to envoy-users
Than you  Yan Avlasov

Regards
Saichand A
Reply all
Reply to author
Forward
0 new messages