Application Performance using Custom Instruments — Part II

Yogesh Bhople
2 min readMay 28, 2021

lets start and create a new project of Instrument Package type

This package is consist of

  • Schema
  • Instrument
  • Template

Schema

Schema section is used to for which format we are storing the data in database. This is just the database schema.

once project is created then open the .instrpkg file and add interval schema

We can see the category tag. There are different categories. we are using behaviour category in example. Category Documentation

Another part of this schema is message format/pattern. In which format we are sending data.

lastly columns.

Instrument

In instrument part, we create table by giving the above schema reference. Once table is created we can use the table columns to plot the data in graph, list , aggregation, time slice etc.

Template

now create a .tracefile from instrument

start with a blank document, configure with instruments desired, and choose “File -> Save as Template”

Now just save and run.

Now play around with this sample project…..

--

--