Giter Club home page Giter Club logo

tencentcloud-monitor-grafana-app's Introduction

Tencent Cloud Monitor Grafana App

Marketplace Downloads License Change Log GitHub code size in bytes PRs Welcome

腾讯云监控插件 @ Grafana

简体中文 | English

注意:该插件从 2.0.0 版本起的最低运行要求为 Grafana 7.3 或更高的版本上。请优先安装 Grafana 环境,详情参考 Grafana 安装文档

简介

腾讯云监控 为用户提供云服务器、云数据库等多个云产品的负载和性能监控指标,用户可以使用云监控控制台、云监控 API 等方式获取相关监控数据。

腾讯云日志服务 是腾讯云提供的一站式日志服务平台,提供了从日志采集、日志存储到日志检索,图表分析、监控告警、日志投递等多项服务,协助用户通过日志来解决业务运维、服务监控、日志审计等场景问题。

腾讯云监控与日志插件 Tencent Cloud Monitor App,是一款适配开源软件 Grafana 的应用插件,通过调用 腾讯云监控 API 3.0腾讯云日志服务 API 3.0 的方式获取监控与日志数据,并对数据进行自定义 Dashboard 展示。

该插件监控能力支持的云产品请参见监控Grafana文档简介 ,该插件支持日志服务的检索分析能力 能力。

该插件提供了云服务器、云数据库 MySQL、负载均衡 和 云产品日志数据 等具有代表性的 Dashboard 预设模板

入门指南

使用 Grafana CLI 安装:

$ grafana-cli --pluginUrl https://github.com/TencentCloud/tencentcloud-monitor-grafana-app/releases/download/2.8.6/tencentcloud-monitor-app-2.8.6.zip plugins install tencentcloud-monitor-app

更多安装方式与入门指南请参见云监控文档日志服务文档

模板变量

模板变量 Variables 是 Grafana 提供的一种 Dashboard 优化特性,用于创建高度可复用和交互式 Dashboard。模板变量的一般**是允许 Grafana 从数据源获得不同的度量,并提供一种无需修改仪表板就可以动态更改它的方法。腾讯云监控应用目前提供了地域、云服务器实例、云数据库 MySQL 实例 等变量。

详细文档与示例请参见 文档

告警

注意: 目前仅 CLS数据源 支持告警,其他数据源暂不支持。并且 Grafana 告警功能不支持模板变量。

FAQs

常见问题请参见 FAQ

联系我们

若在使用过程中遇到任何问题,您可以在此创建 issue ,或者扫码添加 云监控插件@Grafana 使用交流QQ群,我们将竭诚为您服务!

QQ 群 (861359693)
861359693

贡献者 ✨

感谢这些可爱的人对此项目的热爱 (emoji key):

All Contributors


heriky

💻

jamesxwang

💻 📖

leonlysu

💻

bonnielliu-cloud

💻

smallpath

💻

susiezhao

💻

taoran34

💻

Cloudlie

💻🐛

woson-wang

🐛

TomatoAres

🐛

该项目遵循 all-contributors 规范。 欢迎任何形式的贡献!

贡献指南

欢迎大家参与到 腾讯云监控插件 @ Grafana 的开发工作,贡献一份力量!

您可以选择如下的贡献方式:

我们会将您加入 我们的贡献者名单

贡献方式请参考 贡献指南 文档。

许可证

腾讯云监控应用插件在 Apache License 2.0 许可证下提供。

tencentcloud-monitor-grafana-app's People

Contributors

cloudlie avatar dependabot[bot] avatar fullstackroad avatar jamesxwang avatar leonlysu avatar meetzhding avatar susiezhao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tencentcloud-monitor-grafana-app's Issues

Bug: WAF拉取监控数据没有返回

Describe the bug
插件拉取WAF产品 拉取监控数据没有返回

Expected behavior
应该是缺少维度导致的拉取数据失败
image
image

Screenshots
image

For Bug tracing (please complete the following information):

  • Grafana version: [e.g. 7.3.6]
  • Plugin version: [e.g. 1.5.0]
  • RequestId in DevTools - Network tab: [e.g. dadba328-7f0d-4639-847c-810114c0c965]

Additional context
Add any other context about the problem here.

Feature Request: Add variable support for metricNames

This plugin really saves a lot of time for monitoring cloud resources.

It might be even better if we can configure metricname list as variable so that we can use grafana repeat option to automatically generate all the panel regarding available metrics.

image

The final results would be something like this. All metrics will be repeat as panels. It's useful when there are a great number of metrics to configure, this feature will save a lot of time : )

image

Bug: 默认dashboard配置错误

通用问题:

  1. rps/pps等频率参数默认不需要total列
  2. CVM变量可以考虑使用instanceName

具体问题:

  1. CVM内存使用单位错误
  2. CVM外网出流量单位错误
  3. Redis平均CPU使用率单位错误
  4. Redis内存利用率单位错误
  5. Redis连接数单位错误
  6. Redis连接使用率单位错误
  7. Redis入网、出网流量、使用率单位错误
  8. Redis命中数单位错误

Bug: 内网API模式TKE容器集群验签失败

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

For Bug tracing (please complete the following information):

  • Grafana version: 9.3.6
  • Plugin version: 2.8.0
  • RequestId in DevTools - Network tab: 33a43bb2-e19b-4cbd-b0dc-286e43b410a2

Additional context
Add any other context about the problem here.

Bug: 添加Datasource, HTTP Code return 503

Describe the bug

添加Datasource,进行验证:

  • /sign_v3 HTTP Code return 503,
  • /api return 401
  • /cvm return 401
  • /monitor return 401

Screenshots
image

For Bug tracing (please complete the following information):

  • Grafana version: latest
  • Plugin version: latest

Additional context
Add any other context about the problem here.

Bug: CLB 不选择 listener 监听器无数据

Describe the bug
LB_PUBLIC 命名空间,不选择监听器拉不到数据

Screenshots
image

For Bug tracing (please complete the following information):

  • Grafana version: 8.3.0
  • Plugin version: 2.4.0
  • RequestId in DevTools - Network tab: N/A

Feature Request: Add PostgreSQL dashboard template

Is your feature request related to a problem? Please describe.
Due to the unique syntax of tencloud API, it's hard to build a comprehensive panel/dashboard for PostgreSQL from scratch

Describe the solution you'd like
It would be better to get a default one and copy-paste-modify it.

Describe alternatives you've considered
Tried to copy MongoDB dashboard, the panel query has auto-completion, but the variables are hard to modify.

Additional context
Add any other context or screenshots about the feature request here.

Bug: 模板变量的地域参数(Region)不生效,无法查看非ap-guangzhou地域的监控数据

【腾讯云可观测平台 模板变量-云产品监控-文档中心-腾讯云】 https://cloud.tencent.com/document/product/248/54510?from=copy

不管怎么切换地域,查询出来的都是 ap-guangzhou 地域的实例信息,如下图所示:
d86b843-f2e8-4ab9-a360-1d5a646a0651
9af294d4-b8f9-4237-be49-321cca33802a

image
{
  "request": {
    "url": "api/datasources/proxy/5/cdb-internal",
    "data": { "Offset": 0, "Limit": 20 },
    "method": "POST",
    "hideFromInspector": false
  },
  "response": {
    "Response": {
      "Items": [
        // ...
      ],
      "RequestId": "14de7178-4d6a-41a6-bdcd-4984ec055f2c",
      "TotalCount": 209
    }
  }
}

For Bug tracing (please complete the following information):

  • Grafana version: [8.5.21]
  • Plugin version: [2.9.0 and 2.9.1]

创建变量时无法获取相应的值

非常好的一个工具,有了这个都不需要再写API来获取监控数据了. 另外是否会提供其他产品的相关内容,如mongodb、redis等产品, 希望]尽快推出, 点赞...

但是我现在遇到了以下问题:
使用模块自带可以获取到CDB数据;如下图
image

但是使用变量时,无法获取到相应的值?
image

Granafa的版本信息为:Grafana v6.0.2 (3f4c2e7)

Bug: 无法自动获取region信息

image
image
如图, 使用插件自带的dashboard模板, 但是无法获取到地区信息.
使用腾讯云官方的API explorer通过POST方法可以成功获取, 怀疑是插件里面对腾讯云API调用出了问题.
请问该如何调试?

Question: 获取CCNId失败

Describe your question
腾讯云Grafana插件版本: 2.2.2
现象: grafana variable 创建获取ccnId失败
表达式: Namespace=QCE/VBC&Action=DescribeCcns&Region=$region&InstanceAlias=CcnId

Bug: 弹性MapReduce(HDFS) 的 NodeIp 不会显示在图例上

Describe the bug
弹性MapReduce(HDFS) 的 NodeIp 不会显示在图例上,无法通过regex为图例重命名

To Reproduce
Steps to reproduce the behavior:

  1. 选择 弹性MapReduce(HDFS) 命名空间
  2. 选择含有 NodeIp 的指标,如:EmrHdfsOverviewHdfsNnDatanodesCountNumdecomlivedatanodes
  3. 添加多个 同一 Cluster 下,不同 NodeIp 的数据
  4. 查看图例名无法区分 NodeIp

Expected behavior
图例能清楚细化到 NodeIp

Screenshots
企业微信截图_16393988851245

企业微信截图_16393950741917

For Bug tracing (please complete the following information):

  • Grafana version: 8.3.0
  • Plugin version: 2.4.0
  • RequestId in DevTools - Network tab: N/A

Bug: CLB负载均衡模板中修改变量无效

问题描述:
CLB负载均衡模板当中修改实例监听器的查询条件,将listenerAlias变量值使用ListenerName或Port无法正确获取监听器名称。返回值仍是默认ListenerId。(内外网均是如此)

image
image

Bug: 云函数监控配置里不能通过变量来指定 instance

设置两个变量:

$region :Namespace=QCE/SCF_V2&Action=DescribeRegions
$instance :Namespace=QCE/SCF_V2&Region=$region&Action=DescribeInstances

然后面板配置如下:
Namespace: QCE/SCF_V2
Region: $region
MetricName: Duration
Period: 300
instance: (As FunctionName) $instance

这时候 instance 里的值只能是上述地区里的默认命名空间里的云函数,

如果 instance 不使用变量时,可以通过 Show Details 开关来配置云函数的命名空间,从来筛选出指定命名空间下的云函数,但如果instance 使用了命名空间后,show Details 开头就会消失,导致 instance 处只能选择默认命名空间下的云函数

Bug:

预设dashboard面板参数错误

Screenshots
image

几个数据问题

  1. APP分了很多区,但实际上我们没用到这么多区,每次查询都要选区,能不能做到只查IP就行?

  2. 腾讯云帐号有很多项目,目前看着没法查到通过查项目,查到项目下的IP。

grafana连接腾讯云代理配置

请问grafana中配置外网代理连接腾讯云是怎么设置啊? 是要在/etc/init.d/grafana-server中设置代理吗? 我设置了没反应,想请问下作者是怎么配置外网代理的?

Question: 求完整的项目参与指导手册

计划贡献对私有云中 CLS 服务的支持, 希望获得贡献指导:
包含指导如何准备项目开发环境, 如何打包编译代码, 如何在 grafana 本地安装测试此插件的指导手册.

Bug: Unable to add datasource with error: 'Found an error in: cvm: InvalidParameter;'

Describe the bug
When trying to add a datasource with CVM monitor on. The following error occured:

Oops! Found an error in: cvm: InvalidParameter;

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'datasource'
  2. Fill in secretid and secretkey
  3. Enable CVM
  4. Click save and test
  5. See error

Screenshots

image

For Bug tracing (please complete the following information):

  • Grafana version: v7.5.3 (3e3cf4dc60)
  • Plugin version: v2.0.2
  • RequestId in DevTools - Network tab: 71d9a70d-f7f9-40bd-9918-5baa746a06d4

Additional context

Complete response:

{"Response":{"Error":{"Code":"InvalidParameter","Message":"Url key and value should be splited by `=`."},"RequestId":"71d9a70d-f7f9-40bd-9918-5baa746a06d4"}}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.