Skip to content

Commit

Permalink
[Rename] telemetry and visualizations inconsistencies (#164)
Browse files Browse the repository at this point in the history
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
  • Loading branch information
kavilla committed Mar 19, 2021
1 parent f6704e2 commit 4a6a71a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/plugins/telemetry/schema/oss_plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -2385,7 +2385,7 @@
"properties": {
"ece": {
"properties": {
"opensearch_dashboards_uuid": {
"osd_uuid": {
"type": "keyword"
},
"opensearch_uuid": {
Expand Down Expand Up @@ -2426,7 +2426,7 @@
},
"ess": {
"properties": {
"opensearch_dashboards_uuid": {
"osd_uuid": {
"type": "keyword"
},
"opensearch_uuid": {
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/telemetry/server/collectors/usage/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ const licenseSchema: MakeSchemaFrom<LicenseUsage> = {

export const staticTelemetrySchema: MakeSchemaFrom<StaticTelemetryUsage> = {
ece: {
opensearch_dashboards_uuid: { type: 'keyword' },
osd_uuid: { type: 'keyword' },
opensearch_uuid: { type: 'keyword' },
account_id: { type: 'keyword' },
license: licenseSchema,
},
ess: {
opensearch_dashboards_uuid: { type: 'keyword' },
osd_uuid: { type: 'keyword' },
opensearch_uuid: { type: 'keyword' },
account_id: { type: 'keyword' },
license: licenseSchema,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ export interface LicenseUsage {

export interface StaticTelemetryUsage {
ece?: {
opensearch_dashboards_uuid: string;
osd_uuid: string;
opensearch_uuid: string;
account_id: string;
license: LicenseUsage;
};
ess?: {
opensearch_dashboards_uuid: string;
osd_uuid: string;
opensearch_uuid: string;
account_id: string;
license: LicenseUsage;
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/visualizations/public/legacy/build_pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ export const buildPipeline = async (vis: Vis, params: BuildPipelineParams) => {
const { uiState, title } = vis;

// context
let pipeline = `opensearch_dashboards | opensearch_dashboards_context `;
let pipeline = `opensearchDashboards | opensearch_dashboards_context `;
if (query) {
pipeline += prepareJson('query', query);
}
Expand Down

0 comments on commit 4a6a71a

Please sign in to comment.