WhatsApp / WhatsApp-Business-API-Setup-Scripts

The scripts related to setting up WhatsApp business API
MIT License
410 stars 433 forks source link

Observability - metrics endpoint with bearertoken and expire date #33

Closed s4rd1nh4 closed 4 years ago

s4rd1nh4 commented 4 years ago

I'm using my own Prometheus to scrape the metrics on the endpoints / metrics? Prometheus and / v1 / stats? Prometheus. Because the token expires every 7 days I have problems analyzing the environment, is there any way around this?

mengyiyuan commented 4 years ago

@s4rd1nh4 Currently there's no workaround for this, but we are working on making monitoring tokens with longer expiry duration like we do for the health endpoint. Hopefully it will be included as a new release soon.

Stay tuned on the Changelog. https://developers.facebook.com/docs/whatsapp/changelog