Browse Source

fix filename

pull/1/head
rozetko 6 years ago
parent
commit
6cca9cbb3a
  1. 4
      src/target.ts

4
src/target.ts

@ -103,7 +103,9 @@ export class Target {
} }
private getFilename(extension) { private getFilename(extension) {
return `${this.from}-${this.to}.${extension}`; // TODO: use something unique instead of measurement in filename
// as measurement field exists only in influxDB metric
return `${this.metric.targets[0].measurement}.${this.from}-${this.to}.${extension}`;
} }
private getFilePath(extension) { private getFilePath(extension) {

Loading…
Cancel
Save