Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • O Open ZGY
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe SoftwareOpen Subsurface Data Universe Software
  • Platform
  • Domain Data Management Services
  • Seismic
  • Open ZGY
  • Merge requests
  • !88

Additional telemetry

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Paal Kvamme requested to merge kvamme62/perflogger into master Jul 30, 2021
  • Overview 0
  • Commits 5
  • Pipelines 4
  • Changes 8

Add more information output from the telemetry module enabled by OPENZGY_MEASURE_KB.

  • In the periodic output, include a timestamp.
  • In the periodic output, include average latency for the interval.

Also some additions in the bells & whistles category

  • In the periodic output, include the ZGY file name in addition to the id.
  • Optionally use a different logfile for each ZgyReader, named by id.

Considered but not implemented; add if considered useful Yes these are also quick to implement, but will anybody use them?

  • In the periodic output, include standard deviation of latency.
  • When using one log file per ZgyReader, name it after the zgy file name instead of using the sequential id.

A tip regarding the timestamp: This is reported as seconds since the unix epoch (i.e. 1/1/1970 0:00 GMT).

The main reason for using the timestamp is to make it the X axis in a scatter plot. In this case a plain number is needed.

If you want to display the date and/or time in a spreadsheet, convert the timestamp using the formula

=timestamp/(246060)+DATE(1970,1,1)

and then just change the cell to display date and time. Or just time if you prefer. Getting the time in the local timezone is left as an exercise.

Faster but less portable, this formula hard codes the spreadsheet's epoch

=timestamp/86400+25569

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: kvamme62/perflogger