Skip to content

Commit 55a2c98

Browse files
ezimuelkibanamachineafharo
authored
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]>
1 parent 8e36810 commit 55a2c98

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
@@ -11658,6 +11658,16 @@
1165811658
}
1165911659
}
1166011660
}
11661+
},
11662+
"start-local": {
11663+
"properties": {
11664+
"version": {
11665+
"type": "keyword",
11666+
"_meta": {
11667+
"description": "version of the start-local script used to launch Kibana"
11668+
}
11669+
}
11670+
}
1166111671
}
1166211672
}
1166311673
},

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)