Skip to content

Commit

Permalink
feat: 2.9.3修复地域选择问题
Browse files Browse the repository at this point in the history
  • Loading branch information
fanghongliang committed Aug 29, 2024
1 parent 6be39a2 commit 7ae86ca
Show file tree
Hide file tree
Showing 17 changed files with 18 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# TencentCloud Monitor Grafana App---

## [2.9.3] - 2024-08-29
### Modify
- 地域参数选择问题修复
- 其他已知问题修复

## [2.9.2] - 2024-08-12
### Modify
Expand Down
4 changes: 4 additions & 0 deletions dist/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# TencentCloud Monitor Grafana App---

## [2.9.3] - 2024-08-29
### Modify
- 地域参数选择问题修复
- 其他已知问题修复

## [2.9.2] - 2024-08-12
### Modify
Expand Down
2 changes: 1 addition & 1 deletion dist/components/config.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/components/config.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/datasource/module.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/datasource/module.js.map

Large diffs are not rendered by default.

Binary file modified dist/datasource/tencentcloud-monitor-app-backend_darwin_amd64
Binary file not shown.
Binary file modified dist/datasource/tencentcloud-monitor-app-backend_darwin_arm64
Binary file not shown.
Binary file modified dist/datasource/tencentcloud-monitor-app-backend_linux_amd64
Binary file not shown.
Binary file modified dist/datasource/tencentcloud-monitor-app-backend_linux_arm
Binary file not shown.
Binary file modified dist/datasource/tencentcloud-monitor-app-backend_linux_arm64
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/module.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/module.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"small": "img/tencent-cloud.svg",
"large": "img/tencent-cloud.svg"
},
"version": "2.9.2",
"updated": "2024-08-13",
"version": "2.9.3",
"updated": "2024-08-29",
"links": [
{ "name": "GitHub", "url": "https://github.com/TencentCloud/tencentcloud-monitor-grafana-app" },
{ "name": "Docs", "url": "https://cloud.tencent.com/document/product/248/48529" },
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tencentcloud-monitor-grafana-app",
"private": false,
"version": "2.9.2",
"version": "2.9.3",
"description": "Tencent Cloud Monitor plugin for Grafana",
"engines": {
"node": ">=14"
Expand Down
2 changes: 1 addition & 1 deletion src/datasource/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -635,13 +635,13 @@ export function isVariable(value) {
*/
export async function GetRequestParams(options, service, signObj: any = {}, secretId, datasourceId, backendSrv) {
const signParams = {
region: 'ap-guangzhou', // apm参数覆盖,这里先做兼容处理,后期重写apm时公共函数不写死值
secretId,
payload: options.data || '',
...signObj,
...(_.pick(GetServiceAPIInfo(signObj.region || '', service), ['service', 'host', 'version']) || {}),
backendSrv,
datasourceId,
region: 'ap-guangzhou',
};
const sign = new Sign(signParams);
const { intranet, ...headerSigned } = await sign.getHeader();
Expand Down

0 comments on commit 7ae86ca

Please sign in to comment.