Skip to content

Commit

Permalink
Bumped version to 3.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Schmidt authored and Lars Schmidt committed May 3, 2023
1 parent 793a66e commit 9c7c13f
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 3.3.6
- fix available metrics in Analyze websites

## 3.3.5
- fix docs url for dynamic focus query

Expand Down
7 changes: 7 additions & 0 deletions dist/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
# Changelog

## 3.3.6
- fix available metrics in Analyze websites

## 3.3.5
- fix docs url for dynamic focus query

## 3.3.4
- encode infrastructure metrics to support custom metrics including special characters
- fix datasource configuration with instana urls ending with `/`

## 3.3.3
- adjust supported granularites for analyze queries to match Instana UI for better comparability
- removed: `5h`, `10h`
Expand Down
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 @@ -39,8 +39,8 @@
{"name": "query", "path": "img/query.png"},
{"name": "slo", "path": "img/slo.png"}
],
"version": "3.3.5",
"updated": "2023-01-20"
"version": "3.3.6",
"updated": "2023-05-03"
},
"routes": [
{
Expand Down
4 changes: 3 additions & 1 deletion src/components/Analyze/WebsiteMetrics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ export class WebsiteMetrics extends React.Component<Props, WebsiteMetricsState>

datasource.dataSourceWebsite.getWebsiteMetricsCatalog().then((websiteMetrics: any) => {
if (!isUnmounting) {
this.props.updateMetrics(_.filter(websiteMetrics, (m) => m.beaconTypes.includes(query.entityType.key)));
// store all available metrics first and filter by type afterwards
this.props.updateMetrics(websiteMetrics);
this.props.filterMetricsOnType(query.entityType.key);
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/QueryEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ export class QueryEditor extends PureComponent<Props, QueryState> {
loadEntityTypes={this.loadEntityTypes}
/>

<Badge text={'3.3.5'} color={'blue'} />
<Badge text={'3.3.6'} color={'blue'} />
</div>
);
}
Expand Down
11 changes: 11 additions & 0 deletions src/datasources/DataSource_Website.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,21 @@ describe('Given a website datasource', () => {
aggregations: ['MEAN', 'SUM'],
beaconTypes: ['pageLoad', 'resourceLoad', 'httpRequest', 'error', 'custom', 'pageChange'],
},
{
metricId: 'singleId',
label: 'single',
aggregations: ['MEAN'],
beaconTypes: ['httpRequest'],
},
{
metricId: 'noArrayId',
label: 'noArrays',
},
],
});

return dataSourceWebsite.getWebsiteMetricsCatalog().then((catalog: any) => {
expect(catalog).toHaveLength(3);
return _.map(catalog, (metric) => {
expect(metric).toHaveProperty('key');
expect(metric).toHaveProperty('label');
Expand Down
4 changes: 2 additions & 2 deletions src/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
{"name": "query", "path": "img/query.png"},
{"name": "slo", "path": "img/slo.png"}
],
"version": "3.3.5",
"updated": "2023-01-20"
"version": "3.3.6",
"updated": "2023-05-03"
},
"routes": [
{
Expand Down

0 comments on commit 9c7c13f

Please sign in to comment.