Skip to content

Commit dbd8711

Browse files
ezimuelkibanamachineafharo
committed
Added the static telemetry for start-local (elastic#220519)
This PR adds the [start-local](https://github.com/elastic/start-local) telemetry keyword. This keyword has [already been merged in start-local](elastic/start-local#52) to inform Kibana that the telemetry are coming from a start-local installation. When this will be merged I can than release a new version of start-local (i.e. 0.9.0). --------- Co-authored-by: kibanamachine <[email protected]> Co-authored-by: Alejandro Fernández Haro <[email protected]> (cherry picked from commit 55a2c98)
1 parent 2e6e08e commit dbd8711

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

src/platform/plugins/shared/telemetry/schema/oss_platform.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11739,6 +11739,16 @@
1173911739
}
1174011740
}
1174111741
}
11742+
},
11743+
"start-local": {
11744+
"properties": {
11745+
"version": {
11746+
"type": "keyword",
11747+
"_meta": {
11748+
"description": "version of the start-local script used to launch Kibana"
11749+
}
11750+
}
11751+
}
1174211752
}
1174311753
}
1174411754
},

src/platform/plugins/shared/telemetry/server/collectors/usage/schema.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,10 @@ export const staticTelemetrySchema: MakeSchemaFrom<StaticTelemetryUsage> = {
4545
version: { type: 'keyword' },
4646
},
4747
},
48+
'start-local': {
49+
version: {
50+
type: 'keyword',
51+
_meta: { description: 'version of the start-local script used to launch Kibana' },
52+
},
53+
},
4854
};

src/platform/plugins/shared/telemetry/server/collectors/usage/telemetry_usage_collector.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ export interface StaticTelemetryUsage {
105105
version: string;
106106
};
107107
};
108+
'start-local'?: {
109+
version: string;
110+
};
108111
}
109112

110113
export function createTelemetryUsageCollector(

0 commit comments

Comments
 (0)