import { Serializable } from '../serializable' ; import { ApmFields } from './apm_fields' ; export class Metricset extends Serializable < ApmFields > { constructor ( fields ) { super ( { 'processor.event' : 'metric' , 'processor.name' : 'metric' , ... fields , } ) ; } }