【问题标题】:Need to fetch data from prometheus using c#需要使用c#从prometheus获取数据
【发布时间】:2019-10-16 06:51:09
【问题描述】:

需要从 prometheus 获取数据以进行自定义查询。能够通过使用整个指标来获取数据。 automation_results{testCase="abc"} 是正在查看的查询,需要返回存储在 prometheus 中的结果,其度量名称为“automation_results”,testCase 为“abc”。需要将查询传递给 prometheus,使用 C#,找不到任何可以接受自定义查询并返回结果的 prometheusClient 实现。

【问题讨论】:

  • 你的代码哪里有问题?您收到错误消息吗?
  • 我没有在 prometheus 客户端中从 prometheus 获取自定义查询的实现,将在 nuget 中查看我可以使用的一些实现。

标签: c# prometheus


【解决方案1】:

【讨论】:

    猜你喜欢
    • 2015-08-08
    • 2023-02-22
    • 1970-01-01
    • 2020-02-22
    • 1970-01-01
    • 1970-01-01
    • 2018-12-25
    • 2022-01-27
    • 2018-07-22
    相关资源
    最近更新 更多