prometheus go code is changed after upgrading from 2.11.1 to 2.23.0

6 views
Skip to first unread message

Shashank Shukla

unread,
Mar 16, 2021, 3:37:41 AM3/16/21
to Prometheus Users
Hi,

I was using prometheus promql in my go code for prometheus 2.11.1.
For eg: promql.ItemADD , promql.ItemSUB because the code structure was like this 

After upgrading to 2.23.0 the structure is changed to 
I thought i could work with just changing the promeql to parser it'll work but that's not the case. The way code is written is also changed.

Can anyone tell me what's the equivalent of  promql.ItemADD in prometheus 2.23.0
Reply all
Reply to author
Forward
0 new messages