Project

General

Profile

Actions

Developer #5134

closed

Technical Discovery for Producing Statistics for Spirit Fusion

Added by Matthew Thomas 4 months ago. Updated 26 days ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
02/06/2026
Due date:
% Done:

0%

Estimated time:

Description

As SpiritFusion software begins to inetgarte with APIs that request medical data, we need a mechanism to produce statistics so that our customer(s) can see the usage of their SCR.

Quarkus offers multiple AWS extensions, one of which can facilitate reading and writing to AWS Opensearch.

This extension will allow us to connect to an index and send stats using an HTTP client. We will be able to use Jakarta Inteceptors and Events to send the payloads asynchronously, similar to how we audit.

The payload will have to be agreed upon, but it should contain values such as;

  1. service name
  2. type of request
  3. user performing the request
  4. time taken
  5. success/fail
Actions #1

Updated by Matthew Thomas 26 days ago

  • Status changed from New to Closed

This project https://github.com/tiani-uk/spirit-core-statistics handles the creation of the statistics and also has a transport client to send the stats to a designated location.

This project https://github.com/tiani-uk/spirit-sqs-stats-processor is an AWs Lambda kicked by an the AWS SQS. It will then process stats to the designated endpoint, in this case Opensearch.

Actions

Also available in: Atom PDF