Skip to content

Commit

Permalink
objectType: objectType
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Dec 12, 2019
1 parent d2cbb51 commit ea36aff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const schema = {
properties: {
/**
* Type of object that is triggering this report. Should be either search, visualization or dashboard.
* Used for phone home stats only.
* Used for job listing and telemetry stats only.
*/
objectType: {
type: 'text',
Expand Down
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/reporting/server/lib/esqueue/job.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class Job extends events.EventEmitter {
meta: {
// We are copying these values out of payload because these fields are indexed and can be aggregated on
// for tracking stats, while payload contents are not.
objectType: payload.type,
objectType: payload.objectType,
layout: payload.layout ? payload.layout.id : 'none',
},
payload: this.payload,
Expand Down

0 comments on commit ea36aff

Please sign in to comment.