Skip to content

Commit 0769a53

Browse files
authored
servicepulse message details and menu organisation (#7098)
documentation for feature updates for ServicePulse 2.0.0
1 parent 917eb53 commit 0769a53

File tree

102 files changed

+625
-157
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+625
-157
lines changed

.vscode/settings.json

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,5 @@
66
"front_matter_title": ""
77
}
88
},
9-
"dotnet.defaultSolution": "disable",
10-
"workbench.colorCustomizations": {
11-
"activityBar.activeBackground": "#3399ff",
12-
"activityBar.background": "#3399ff",
13-
"activityBar.foreground": "#15202b",
14-
"activityBar.inactiveForeground": "#15202b99",
15-
"activityBarBadge.background": "#bf0060",
16-
"activityBarBadge.foreground": "#e7e7e7",
17-
"commandCenter.border": "#e7e7e799",
18-
"sash.hoverBorder": "#3399ff",
19-
"statusBar.background": "#007fff",
20-
"statusBar.foreground": "#e7e7e7",
21-
"statusBarItem.hoverBackground": "#3399ff",
22-
"statusBarItem.remoteBackground": "#007fff",
23-
"statusBarItem.remoteForeground": "#e7e7e7",
24-
"titleBar.activeBackground": "#007fff",
25-
"titleBar.activeForeground": "#e7e7e7",
26-
"titleBar.inactiveBackground": "#007fff99",
27-
"titleBar.inactiveForeground": "#e7e7e799"
28-
},
29-
"peacock.color": "#007fff"
9+
"dotnet.defaultSolution": "disable"
3010
}

architecture/observability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ Video: [Message processing failed, but what’s the root cause?](https://www.you
2929

3030
## The Particular Service Platform
3131

32-
The Particular Service Platform offers multiple capabilities that allow one to observe the message flows that are occurring in the system. ServiceInsight has an endpoint explorer view, allowing one to understand all components that are sending and receiving messages in the system. More importantly, ServiceInsight offers multiple views that offer insights into message and [saga flows](/architecture/workflows.md#orchestration-implementing-orchestrated-workflows), based on audit messages. These message-based conversations that are occurring in the systems, are visualized in [flow diagrams](/serviceinsight/#flow-diagram), [sequence diagrams](/serviceinsight/#sequence-diagram), and [saga views](/serviceinsight/#the-saga-view).
32+
The Particular Service Platform offers multiple capabilities that allow one to observe the message flows that are occurring in the system. ServiceInsight has an endpoint explorer view, allowing one to understand all components that are sending and receiving messages in the system. More importantly, ServiceInsight and ServicePulse have multiple views that offer insights into message and [saga flows](/architecture/workflows.md#orchestration-implementing-orchestrated-workflows), based on audit messages. These message-based conversations that are occurring in the systems, are visualized in [flow diagrams](/servicepulse/message-details.md#messages-with-audited-conversation-data-flow-diagram), [sequence diagrams](/servicepulse/message-details.md#messages-with-audited-conversation-data-sequence-diagram), and [saga views](/servicepulse/message-details.md#messages-with-audited-conversation-data-saga-diagram).

architecture/recoverability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Transient failures are temporary and are not caused by errors in business logic.
2323
> The Particular Platform simplifies the handling of transient errors:
2424
>
2525
> - NServiceBus has [built-in support for immediate and delayed retries](/nservicebus/recoverability/) for all supported messaging technologies. The automated retries behavior is highly customizable.
26-
> - ServicePulse shows [real-time metrics monitoring retries](/servicepulse/#real-time-monitoring) occuring in the system.
26+
> - ServicePulse shows [real-time metrics monitoring retries](/servicepulse/#servicepulse-views-monitoring) occurring in the system.
2727
2828

2929
## Persistent errors

menu/menu.yaml

Lines changed: 55 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@
175175
- Url: nservicebus/azure
176176
Title: NServiceBus and Azure
177177

178-
179178
- Title: Support Policy
180179
Articles:
181180
- Url: nservicebus/upgrades/support-policy
@@ -614,7 +613,7 @@
614613
- Url: nservicebus/sagas/reply-replytooriginator-differences
615614
Title: Reply and ReplyToOriginator differences
616615
- Url: nservicebus/sagas/saga-audit
617-
Title: Debugging sagas in ServiceInsight
616+
Title: Debugging sagas in ServicePulse
618617
- Url: nservicebus/sagas/saga-finding
619618
Title: Complex finding logic
620619
- Title: Testing
@@ -1381,48 +1380,60 @@
13811380

13821381
- Name: ServicePulse
13831382
Topics:
1384-
- Title: Introduction
1385-
Articles:
1386-
- Url: servicepulse
1387-
Title: About ServicePulse
1388-
- Url: servicepulse/installation
1389-
Title: Installation
1390-
- Url: servicepulse/containerization
1391-
Title: Container deployment
1392-
- Url: servicepulse/intro-failed-messages
1393-
Title: Failed Messages
1394-
- Url: servicepulse/intro-failed-message-retries
1395-
Title: Retrying Failed Messages
1396-
- Url: servicepulse/intro-editing-messages
1397-
Title: Fixing malformed messages
1398-
- Url: servicepulse/intro-archived-messages
1399-
Title: Deleted Messages
1400-
- Url: servicepulse/intro-pending-retries
1401-
Title: Pending Retries
1402-
- Url: servicepulse/redirect
1403-
Title: Redirects
1404-
- Url: servicepulse/event-types
1405-
Title: Events
1406-
- Url: servicepulse/health-check-notifications
1407-
Title: Health check notifications
1408-
- Url: servicepulse/endpoint-connection
1409-
Title: Endpoint connection settings
1410-
- Url: servicepulse/support-policy
1411-
Title: Support Policy
1412-
- Url: servicepulse/usage
1413-
Title: Measuring system usage
1414-
- Title: Configuration
1415-
Articles:
1416-
- Url: servicepulse/host-config
1417-
Title: Hosting
1418-
- Url: servicepulse/how-to-configure-endpoints-for-monitoring
1419-
Title: Monitoring endpoints
1420-
- Url: servicepulse/usage-config
1421-
Title: Usage Setup
1422-
- Url: servicepulse/install-servicepulse-in-iis
1423-
Title: Install in IIS
1424-
- Url: servicepulse/troubleshooting
1425-
Title: Troubleshooting
1383+
- Title: Introduction
1384+
Articles:
1385+
- Url: servicepulse
1386+
Title: About ServicePulse
1387+
- Url: servicepulse/installation
1388+
Title: Installation
1389+
- Url: servicepulse/containerization
1390+
Title: Container deployment
1391+
- Url: servicepulse/support-policy
1392+
Title: Support Policy
1393+
- Title: Configuration
1394+
Articles:
1395+
- Url: servicepulse/host-config
1396+
Title: Hosting
1397+
- Url: servicepulse/how-to-configure-endpoints-for-monitoring
1398+
Title: Monitoring endpoints
1399+
- Url: servicepulse/usage-config
1400+
Title: Usage Setup
1401+
- Url: servicepulse/install-servicepulse-in-iis
1402+
Title: Install in IIS
1403+
- Url: servicepulse/troubleshooting
1404+
Title: Troubleshooting
1405+
- Title: Features
1406+
Articles:
1407+
- Url: servicepulse/all-messages
1408+
Title: All Messages
1409+
- Url: servicepulse/intro-failed-messages
1410+
Title: Failed Messages
1411+
- Url: servicepulse/message-details
1412+
Title: Message Details
1413+
- Url: servicepulse/flow-diagram
1414+
Title: Flow Diagram
1415+
- Url: servicepulse/sequence-diagram
1416+
Title: Sequence Diagram
1417+
- Url: servicepulse/saga-diagram
1418+
Title: Saga Diagram
1419+
- Url: servicepulse/intro-failed-message-retries
1420+
Title: Retrying Failed Messages
1421+
- Url: servicepulse/intro-editing-messages
1422+
Title: Fixing malformed messages
1423+
- Url: servicepulse/intro-archived-messages
1424+
Title: Deleted Messages
1425+
- Url: servicepulse/intro-pending-retries
1426+
Title: Pending Retries
1427+
- Url: servicepulse/redirect
1428+
Title: Redirects
1429+
- Url: servicepulse/event-types
1430+
Title: Events
1431+
- Url: servicepulse/health-check-notifications
1432+
Title: Health check notifications
1433+
- Url: servicepulse/endpoint-connection
1434+
Title: Endpoint connection settings
1435+
- Url: servicepulse/usage
1436+
Title: Measuring system usage
14261437

14271438
- Name: ServiceControl
14281439
Topics:

nservicebus/messaging/headers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Messages sent from a [saga](/nservicebus/sagas/) using the `ReplyToOriginator` m
119119

120120
### NServiceBus.ConversationId
121121

122-
The identifier of the conversation that this message is part of. It enables the tracking of message flows that span more than one message exchange. `ConversationId`, `RelatedTo`, `OriginatingEndpoint`, and `ProcessingEndpoint` fields allow [ServiceInsight](/serviceinsight/#flow-diagram) to reconstruct the entire message flow.
122+
The identifier of the conversation that this message is part of. It enables the tracking of message flows that span more than one message exchange. `ConversationId`, `RelatedTo`, `OriginatingEndpoint`, and `ProcessingEndpoint` fields allow [ServicePulse](/servicepulse/message-details.md#messages-with-audited-conversation-data-flow-diagram) to reconstruct the entire message flow.
123123

124124
The first message sent in a new flow is automatically assigned a unique `ConversationId` that gets propagated to all the messages that are sent afterward, forming a _conversation_. Each message sent within a conversation has a `RelatedTo` value that identifies the message that caused it to be sent.
125125

@@ -333,7 +333,7 @@ The timestamp when the message should be delivered. Used for more accurate calcu
333333
The endpoint name the message was sent from.
334334
335335
> [!NOTE]
336-
> Used for linking messages in ServiceInsight. See [NServiceBus.ConversationId](#messaging-interaction-headers-nservicebus-conversationid)
336+
> Used for linking messages in ServiceInsight and ServicePulse. See [NServiceBus.ConversationId](#messaging-interaction-headers-nservicebus-conversationid)
337337
338338
### NServiceBus.OriginatingMachine
339339
@@ -364,7 +364,7 @@ The timestamp when the processing of a message ended.
364364
Name of the endpoint where the message was processed.
365365
366366
> [!NOTE]
367-
> Used for linking messages in ServiceInsight. See [NServiceBus.ConversationId](#messaging-interaction-headers-nservicebus-conversationid)
367+
> Used for linking messages in ServiceInsight and ServicePulse. See [NServiceBus.ConversationId](#messaging-interaction-headers-nservicebus-conversationid)
368368
369369
### NServiceBus.ProcessingMachine
370370

nservicebus/messaging/third-party-integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The [RabbitMQ](/samples/rabbitmq/native-integration/), [SQL](/samples/sqltranspo
1919

2020
## Visualization
2121

22-
To visualize messages from third-party systems correctly within ServiceInsight, additional headers are necessary
22+
To visualize messages from third-party systems correctly within ServicePulse, additional headers are necessary.
2323

2424
- [`NServiceBus.ConversationId`](/nservicebus/messaging/headers.md#messaging-interaction-headers-nservicebus-conversationid) - used to show related messages in the Flow Diagram and Sequence Diagram. If this header is not provided, the message won't be included in the conversation it started, but a `ConversationId` will be generated for subsequent messages sent using NServiceBus.
2525
- [`NServiceBus.OriginatingEndpoint`](/nservicebus/messaging/headers.md#diagnostic-and-informational-headers-nservicebus-originatingendpoint) - used in all views, to show the logical endpoint that sent the message. This should be the name of the third-party endpoint sending the message. For example, _BizTalk.ProcessOrder_.

nservicebus/recoverability/configure-error-handling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ snippet: ErrorHeadersCustomizations
4444

4545
Administrators should monitor the error queue in order to detect when problems occur. The message in the error queue contains relevant information such as the endpoint that initially processed the message and exception details. This allows an administrator to investigate the problem.
4646

47-
Monitoring and handling of failed messages with [ServicePulse](/servicepulse/) provides access to full exception details, including the stack-trace. [ServiceInsight](/serviceinsight/) provides advanced debugging capabilities by offering additional information, such as message flow visualization. Both ServiceInsight and ServicePulse provide message retry functionality, which sends a failed message back to the originating endpoint for reprocessing. For more details on how to retry a message using ServicePulse, see [Introduction to Failed Messages Monitoring in ServicePulse](/servicepulse/intro-failed-messages.md). To retry a message using ServiceInsight, see [Managing Errors and Retries in ServiceInsight](/serviceinsight/managing-errors-and-retries.md).
47+
Monitoring and handling of failed messages with [ServicePulse](/servicepulse/) provides access to full exception details, including the stack-trace. [ServiceInsight](/serviceinsight/) and ServicePulse offer advanced debugging capabilities, providing additional information like exception details as well as visualizing the flow of messages. They also provide `retry` functionality, which sends a failed message from the error queue back to the originating endpoint for re-processing. For more details on how to retry a message using ServicePulse, see [Introduction to Failed Messages Monitoring in ServicePulse](/servicepulse/intro-failed-messages.md). To retry a message using ServiceInsight, see [Managing Errors and Retries in ServiceInsight](/serviceinsight/managing-errors-and-retries.md).
4848

4949
If ServicePulse and ServiceInsight are not available in the environment, the message retry functionality can be performed using the native management tools appropriate for the selected transport:
5050

nservicebus/sagas/saga-audit.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ redirects:
1414
> [!WARNING]
1515
> This plugin will result in an increase in the load placed on ServiceControl and the endpoint it is installed in. Make sure the environment is prepared for the increased load. Consider [scaling out audit processing](/servicecontrol/servicecontrol-instances/remotes.md) if necessary.
1616
17-
The SagaAudit plugin enables the [Saga View feature in ServiceInsight](/serviceinsight/#the-saga-view).
17+
The SagaAudit plugin enables the Saga View feature in [ServiceInsight](/serviceinsight/#the-saga-view) and [ServicePulse](/servicepulse/message-details.md#messages-with-audited-conversation-data-saga-diagram).
1818

1919
![SagaAudit View in ServiceInsight](saga-audit-screenshot.png)
2020

21-
It is built specifically to help developers verify saga logic during development. It does this by capturing saga message behavior and changes in saga data/state as the saga is being processed. It then sends this information to a ServiceControl instance set up in the development environment. The information is available in the *Saga* view in ServiceInsight.
21+
It is built specifically to help developers verify saga logic during development. It does this by capturing saga message behavior and changes in saga data/state as the saga is being processed. It then sends this information to a ServiceControl instance set up in the development environment. The information is available in the *Saga* view in ServiceInsight and ServicePulse.
2222

2323

2424
> [!NOTE]

platform/index.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,24 @@ The Particular Service Platform consists of [NServiceBus](/nservicebus), [Servic
1515

1616
![Particular Service Platform architecture](architecture-overview.png)
1717

18-
The details of each component are discussed below. A Particular Service Platform-based system consists of several NServiceBus [endpoints](/nservicebus/endpoints/). Endpoints are logical entities that perform business operations. They communicate with each other using messages (via queues) and forward messages to ServiceControl for auditing. ServiceControl stores this audit trail and provides integration points for ServicePulse and ServiceInsight. ServicePulse provides monitoring and recoverability for production systems. ServiceInsight provides debugging and visualization of how the system works.
18+
The details of each component are discussed below. A Particular Service Platform-based system consists of several NServiceBus [endpoints](/nservicebus/endpoints/). Endpoints are logical entities that perform business operations. They communicate with each other using messages (via queues) and forward messages to ServiceControl for auditing. ServiceControl stores this audit trail and provides integration points for ServicePulse and ServiceInsight. ServicePulse provides monitoring and recoverability for production systems. ServiceInsight and ServicePulse provide debugging information and visualization of how the system works.
1919

2020
## [NServiceBus](/nservicebus) - where it all begins
2121

2222
include: nservicebus
2323

24-
2524
## [ServiceControl](/servicecontrol) - data collection
2625

2726
include: servicecontrol
2827

28+
## [ServicePulse](/servicepulse) - debug, retry and monitor
29+
30+
include: servicepulse
2931

3032
## [ServiceInsight](/serviceinsight) - visualization
3133

3234
include: serviceinsight
3335

34-
35-
## [ServicePulse](/servicepulse) - monitoring
36-
37-
include: servicepulse
38-
39-
4036
## Working with the platform
4137

4238
ServiceControl and ServicePulse are server applications. They should be deployed in each environment, for example: test, QA, and production. ServiceInsight is a client application. It should be deployed on a workstation and connected to ServiceControl in the appropriate environment.

platform/nservicebus.include.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ The NServiceBus message processing and dispatching pipeline is modular and exten
7272

7373
## Particular Service Platform
7474

75-
NServiceBus is designed to work with the rest of the Particular Service Platform. All messages are instrumented with additional [headers](/nservicebus/messaging/headers.md) detailing key information about the message and how it was processed. As each message is processed, it is forwarded to an [audit queue](/nservicebus/operations/auditing.md), where it is picked up by [ServiceControl](/servicecontrol/). [ServiceInsight](/serviceinsight/) connects to a ServiceControl instance to provide powerful visualizations of a running NServiceBus system, making it easy to understand message flows and timing.
75+
NServiceBus is designed to work with the rest of the Particular Service Platform. All messages are instrumented with additional [headers](/nservicebus/messaging/headers.md) detailing key information about the message and how it was processed. As each message is processed, it is forwarded to an [audit queue](/nservicebus/operations/auditing.md), where it is picked up by [ServiceControl](/servicecontrol/).
7676

7777
When a message fails to be processed, even after a number of retry strategies have been attempted, NServiceBus will forward the message to an [error queue](/nservicebus/recoverability/configure-error-handling.md) for manual investigation. Messages sent to the error queue are instrumented with headers containing details about the failure including a full exception stack trace. ServiceControl picks up messages from the error queue and makes them available in [ServicePulse](/servicepulse/). Once the root cause of the failure has been found and corrected, all messages caused by the same problem can be retried at once.
7878

79-
Additionally, each endpoint can send [heartbeat](/monitoring/heartbeats/), [health check](/monitoring/custom-checks/), and [performance metrics](/monitoring/metrics/) through the platform for visualization in ServicePulse, making it easy to see which endpoints are offline, which are ready to scale out, and which require manual intervention.
79+
Additionally, each endpoint can send [heartbeat](/monitoring/heartbeats/), [health check](/monitoring/custom-checks/), and [performance metrics](/monitoring/metrics/) through the platform for visualization in ServicePulse, making it easy to see which endpoints are offline, which are ready to scale out, and which require manual intervention. Message visualizations available in [ServicePulse](/servicepulse/message-details.md#messages-with-audited-conversation-data) and [ServiceInsight](/serviceinsight/) make it easy to understand message flows and timing of a running NServiceBus system.
8080

8181
The [real-time monitoring demo](https://particular.net/real-time-monitoring) provides the ability to experience the Service Platform in action. The [Platform Sample package](/platform/platform-sample-package.md) provides the ability to demonstrate the Service Platform from within any Visual Studio solution, without the need to install anything.
8282

0 commit comments

Comments
 (0)