-
Notifications
You must be signed in to change notification settings - Fork 5
Sessions
Sessions in QIP are critical for tracking and analyzing the execution of integration workflows. They provide granular visibility into chain operations, enabling troubleshooting, auditing, and optimization. Below is a high-level overview of session functionality and configuration options:
Key Features:
Sessions in QIP provide comprehensive tools for monitoring, analyzing, and managing integration workflows. Below are the core functionalities:
- Flexible Logging Configuration Sessions allow detailed logging settings, including verbosity levels (Error, Warn, Info).
- Session Lifecycle Tracking Each session displays real-time status updates (e.g., In Progress, Completed with Errors) and metadata such as Start/Finish Time, Duration, and Snapshot Version.
- Data Security with Masked Fields Users can define masked fields to hide sensitive information in logs.
-
Detailed Element-Level Diagnostics
Sessions enable deep inspection of individual workflow elements, including Status, Duration, and Type. The View Diff feature highlights pre- and post-execution changes for each element, simplifying troubleshooting for large datasets. -
Session Actions
Users can perform critical operations:- Retry Failed Sessions : Re-execute workflows to resolve transient errors.
- Export Logs : Save session data for external analysis or compliance reporting.
- Delete Records : Remove outdated or unnecessary session entries.
-
Integration with Monitoring Systems
Sessions support DPT Events for streaming data to external monitoring tools.
To make the system start writing sessions for a specific chain, users must configure logging parameters in the Logging Settings tab, accessible via the top navigation menu after the Sessions section. This tab is divided into two panels:
- Left Panel: Logging Properties — defines log behavior and visibility.
- Right Panel: Masked Fields — manages sensitive data protection.
To set up logging:
- Enable Override default properties to set system-wide settings.
- Adjust the following parameters:
-
Session Level:
- Off: No logging.
- Error: Logs only critical failures.
- Info: Standard operational details.
- Debug: Detailed diagnostics for troubleshooting.
-
Log Level:
- Error, Warn, Info — controls verbosity of logged messages.
-
Log Payload:
- Body: Full message body content.
- Header: Message header (e.g., HTTP headers).
- Properties: Contextual data (e.g., session IDs).
- Produce DPT Events: Enables event generation for external monitoring.
- Enable Logging Masking: Activates field-level data protection.
-
Session Level:
To secure sensitive data:
- Use the action menu (right panel below) to:
- Add New Masked Field: Enter a name. The field will be masked at every level of JSON, XML, etc., during chain execution. Masked fields affect logs and sessions by hiding the original data.
- Delete Selected Fields: Remove outdated or unnecessary masks.
- Each masked field displays:
- Created By/At : Creator and timestamp.
- Modified By/At : Last edit details.
Sessions are accessible via the top navigation menu after Deployments. The session list includes:
- ID: Unique identifier for tracking.
-
Status:
- In Progress
- Completed Normally
- Completed with Errors/Warnings
- Cancelled or Unknown
- Start/Finish Time: Execution timeline.
- Session Level: Logged severity (e.g., Debug).
- Duration: Total runtime.
- Snapshot: Version used for the session.
- Engine: Target deployment domain.
Available Actions:
- Delete Selected Sessions: Removes session records.
- Export Selected Sessions: Saves logs for external analysis.
- Retry Selected Sessions: Repeats failed workflows.
Clicking on a session reveals granular insights:
-
Element-Level Data:
- Element Name, Status, Duration, Start/Finish Time, Type (e.g., HTTP trigger, Kafka sender).
-
Content Viewing - to see the difference (Before and After):
- Use tabs at the top to select:
- Body: Message payload.
- Header: Metadata.
- Exchange Properties: Contextual variables.
- Technical Content: Internal diagnostics.
- Use tabs at the top to select:
- View Diff : For large datasets, click View Diff (right side) to compare pre- and post-execution states.