Deco M4R performance/usage metrics export or api

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Deco M4R performance/usage metrics export or api

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Deco M4R performance/usage metrics export or api
Deco M4R performance/usage metrics export or api
2020-09-07 07:44:24 - last edited 2020-09-08 03:01:45
Model: Deco M4  
Hardware Version: V1
Firmware Version: 1.4.2 Build 20200727 Rel. 37987

Greetings,

 

I am wondering if it is possible to export useful metrics from the Deco M4, in order to monitor its performance and usage.

I have been using Prometheus and Grafana to plot some charts, and I would like to know if it's possible to have a prometheus exporter for the Deco, or if I can write an exporter myself to have these metrics.

 

Or is there an API built in the Deco M4? Or in general any ways to get metrics, besides using the mobile app?

 

Thank you,

Thanasis

  0      
  0      
#1
Options
1 Accepted Solution
Re:Deco M4R performance/usage metrics export or api-Solution
2020-09-08 03:00:38 - last edited 2020-09-08 03:01:45

@thanasis00 

 

Hi, as far as I know, we don't provide any API or exporter for the Deco M4 to get the metrics.

Recommended Solution
  0  
  0  
#2
Options
7 Reply
Re:Deco M4R performance/usage metrics export or api-Solution
2020-09-08 03:00:38 - last edited 2020-09-08 03:01:45

@thanasis00 

 

Hi, as far as I know, we don't provide any API or exporter for the Deco M4 to get the metrics.

Recommended Solution
  0  
  0  
#2
Options
Re:Deco M4R performance/usage metrics export or api
2020-09-08 11:02:36

@TP-Link_Deco 

 

Do you have any plans in implementing metrics and/or prometheus exporter?

I noticed that you have LuCi (openwrt) under the hood, by inspecting the XHR requests of the web interface:

 

/cgi-bin/luci/;stok=[ID]/admin/network?form=performance

 

Which means, that if this is correct, it would be easy to add metrics and/or prometheus exporter. Or at least tell me how can I add it to my Deco at least.

 

Thank you,

Thanasis

  0  
  0  
#3
Options
Re:Deco M4R performance/usage metrics export or api
2020-10-04 05:48:07

@TP-Link_Deco 

 

I'm using a Deco M5, but I'd second the request for an API. There's a lot of good information in the web UI (as well as the app) of clients + current upload/download, and being able to get this programatically would be really nice.

  2  
  2  
#4
Options
Re:Deco M4R performance/usage metrics export or api
2020-10-10 18:25:07

Yeah I'm still interested in a metric API, since it will be really useful to have historical data and monitor in real time all the devices connected. I use Prometheus and Grafana with some alerting for some smart outlets, and the Deco would be a great addition. I might have to switch them to Access Point mode and use an OpenWRT router which already supports a Prometheus exporter to handle all metrics.

  0  
  0  
#5
Options
Re:Deco M4R performance/usage metrics export or api
2020-10-26 11:18:17

@TP-Link_Deco kind reminder to see if you have added in your roadmap a metrics export or api for the deco m4 software. It would be really helpful for homelabs to have an aggregated visual indication of what's happening in our network.

  0  
  0  
#6
Options
Re:Deco M4R performance/usage metrics export or api
2021-03-06 13:31:53 - last edited 2021-03-06 13:34:06

would love to see this too

 

it has been done before with tplink smart switches (https://github.com/thelastguardian/tplinkexporter) (https://github.com/fffonion/tplink-plug-exporter)

  0  
  0  
#7
Options
Re:Deco M4R performance/usage metrics export or api
2021-03-08 08:03:57

@nial538 

Hi

I am sorry that there is still no plan to add a metrics export or API for the deco m4 software.

Thank you very much.

  0  
  0  
#8
Options

Information

Helpful: 0

Views: 2775

Replies: 7

Related Articles