Skip to content

Releases: aliyun/aliyun-log-grafana-datasource-plugin

# 2.33 (2024-09-01)

03 Sep 01:36
38157bb
Compare
Choose a tag to compare

2.33 (2024-09-01)

  • 插件配置界面优化,必填项为 Endpoint Project AccessKeyID AccessKeySecret, 不再强制要求填写 LogStore;如果不填写 LogStore, 请确保你的填写的 Ak 具备当前 Project 的 ListProject 权限,参考 ListLogStores - 列出 LogStore

  • 插件支持自定义 Headers, 但仅在数据源类型为MetricStore(PrmQL) 生效
    图 2

  • 插件编辑界面优化,支持切换数据源类型和在编辑界面下拉选择具体日志库(Logstore)时序库(MetricStore)
    图 3

    • 数据源类型主要是两种语法区别SQLPromQL,再加上存储库的类型不同,有四种类型可选: ALL(SQL)Logstore(SQL)MetricStore(SQL)MetricStore(PromQL) ;
    • 日志库(Logstore)支持SQL日志库(Logstore)查询分析;
    • 时序库(MetricStore)支持SQL + PromQL时序库(MetricStore)查询分析;
    • MetricStore(PromQL)支持添加 custom Headers,具体在该数据源的配置界面进行添加;

2.32 (2024-4-16)

17 Apr 06:40
41f6c72
Compare
Choose a tag to compare
  • 支持时序图断点展示,通过 time_series(时间列, 补全窗口, %Y-%m-%d %H:%i:%s, null) 补 null 值进行断点展示

2.31 (2023-10-18)

19 Oct 08:50
065e176
Compare
Choose a tag to compare
  • 支持日志图在 Grafana v10 的展示,日志图可以指定想展示的字段,ycol格式为字段1,字段2
  • 流图支持多条线,ycol格式为#:#指标1,指标2
  • 修改表格区域的名字为ycol,使多个表格在同一个图表时,可以区分。

image.png
image.png

  • Supports the display of log graphs in Grafana v10. Log graphs can specify the fields you want to display. The ycol format is Field 1, Field 2
  • The flow graph supports multiple lines, and the ycol format is #:#Indicator 1,Indicator 2
  • Modify the name of the table area to ycol so that multiple tables can be distinguished when they are in the same chart.

2.30 (date: 2023-07-25)

25 Jul 05:59
c3bc113
Compare
Choose a tag to compare
  • 优化SLS Grafana插件后端结构,现支持加入自定义Resource API功能。
  • 引入gotoSLS功能,用户可以方便地跳转到SLS控制台进行查询,和体验SLS控制台更强大的功能,跳转附带当前Grafana的query、时间信息。在DataSource界面配置roleArn可实现STS跳转,若不配置,则按照正常直接访问逻辑跳转(需要登录控制台)。
    • 注意:若配置STS跳转,为权限安全考虑,需要满足以下两个条件
      • 配置DataSource的accessKey对应的用户,需要有**AliyunRAMReadOnlyAccess**权限
      • 配置DataSource的roleArn,里面的权限策略,必须有且只有**AliyunLogReadOnlyAccess**
    • 原理参考:控制台内嵌及分享
  • 优化xcol的表现形式,现以下拉框的形式规范推荐输入。兼顾兼容性与自定义输入。
  • Variable 编辑页面,SLS DataSource同样引入Monaco Editor,且自动识别grafana版本切换新老显示。
  • 修复xcolycol输入框末尾Tips 在Grafana 8.3.x及以下无法显示的问题。
  • 修复部分适配问题。

image.png
image.png

  • Optimize the back-end structure of the SLS Grafana plug-in, and now support the addition of custom Resource API functions.
  • Introducing the gotoSLS function, users can easily jump to the SLS console to query and experience more powerful functions of the SLS console, and the jump includes the current Grafana query and time information. Configuring roleArn on the DataSource interface can realize STS jumping. If not configured, it will jump according to the normal direct access logic (login to the console is required).
    • Note: If STS redirection is configured, the following two conditions need to be met for permission security considerations:
      • To configure the user corresponding to the accessKey of the DataSource, AliyunRAMReadOnlyAccess permission is required
      • Configure the roleArn of DataSource, the permission policy inside must have and only AliyunLogReadOnlyAccess
    • Principle reference: Console embedding and sharing
  • Optimize the expression form of xcol, and now standardize the recommended input in the form of a drop-down box. Take into account compatibility and custom input.
  • On the Variable editing page, SLS DataSource also introduces Monaco Editor, and automatically recognizes the grafana version to switch between the new and old displays.
  • Fix the problem that Tips at the end of the xcol and ycol input boxes cannot be displayed in Grafana 8.3.x and below.
  • Fix some adaptation problems.

2.29 (date: 2023-06-29)

29 Jun 13:29
Compare
Choose a tag to compare

2.29 (2023-06-29)

  • 全新SLS Query编写体验,引入Monaco Editor,支持语法高亮显示,关键字、函数自动提示等功能。
  • SLS Query 框支持多行自动换行和高度扩展。
  • xcolycol的输入使用Grafana的Input组件,带来更一致的体验。
  • xcolycol输入框末尾增加Tips,介绍常见写法,方便初学者上手。
  • 修复一系列版本问题。

  • Brand-new SLS Query writing experience, introduces Monaco Editor, supports syntax highlighting, keyword, function automatic prompting and other functions.
  • The SLS Query box supports multi-line word wrapping and height expansion.
  • The input of xcol and ycol uses Grafana's Input component to bring a more consistent experience.
  • Tips are added at the end of the xcol and ycol input boxes to introduce common writing methods, which is convenient for beginners.
  • Fix a series of version issues.

image.png
image.png

注意!目前新版Monaco Editor仅适用于Grafana 8.3.0 及以上版本。8.3.0以下版本,将自动识别您的Grafana版本,并按照老版本MonacoEditor进行展示

Notice! The current new version of Monaco Editor is only applicable to Grafana 8.3.0 and above. Versions below 8.3.0 will automatically recognize your Grafana version and display it according to the old version of MonacoEditor

image.png

2.28

23 Apr 09:54
Compare
Choose a tag to compare
Adapt grafana 9.4

2.17

06 Apr 03:02
Compare
Choose a tag to compare
2.27

release 2.27

2.24

12 Dec 08:21
Compare
Choose a tag to compare
fix variable issue

2.23

30 Nov 07:07
Compare
Choose a tag to compare
tag 2.23

2.22

18 Nov 09:25
Compare
Choose a tag to compare
change version