Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Altinity/clickhouse-grafana into …
Browse files Browse the repository at this point in the history
…editor-fix
  • Loading branch information
Slach committed Jun 25, 2024
2 parents 44fa066 + ce12dab commit 1490cca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/datasource/sql_series.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,11 @@ export default class SqlSeries {
if (keyColumns.length > 0) {
metricKey = keyColumns.map((name: string) => {
const value = row[name];

if (typeof value === 'undefined') {
return undefined;
}

if (typeof value === 'object') {
return JSON.stringify(value);
} else {
Expand Down

0 comments on commit 1490cca

Please sign in to comment.