MetaData
  • 17 Jul 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

MetaData

  • Dark
    Light
  • PDF

Article summary

MetaData is a special schema part that is always available to a graph. The MetaData is always shown at the top of the Data Schema panel on the right of the application:

Normally, the MetaData only contains:

  • Graph name: Always the name of the top-level graph deployed
  • Project name: Name of the project
  • Environment name: Name of the environment
  • Transaction id: Transaction ids are generated with UUID
  • Transaction start timestamp: Time when the transaction occurred

Therefore, the simple graph below will return corresponding simple MetaData.

The project name and environment name were implemented in June 2018.  If looking at MetaData for graphs deployed prior to the release of this update, the fields will be listed as 'Unknown Project Name' and 'Unknown Environment Name'.  Stopping and starting such graphs will result in the MetaData being available for subsequent runs.

In the event of an error, the MetaData will be populated entirely with the following information: 

  • Error
    • Message - the error message created by the node that errored
    • Node
      • Name - the name of the node that caused the error
      • Type - the type of the node that caused the error 
    • Time - the timestamp when the error occurred
  • TransactionState
    • PublicVariables - an object with all of the public variables in at the time the error occurred
    • Schema - an object containing the schema at the time the error occurred

This information can be used by your graph to record the error or to make a decision about whether the error is recoverable or not.

For Example:

In this graph, which deliberately attempts to get a value from a non-existent schema location, the fully populated MetaData object can be seen:


Is it helpful? React and share your comment

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence