Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

SNA Library (snalib)

Sahamati provides sna libraries to reduce the integration effort with SNA. The snalib-dist directory in the GitHub repository can be used by your AA service to push the api transaction details to the SNA agent. Libraries for Node, Go, dotnet and Java are available, along with example source code and a Java JAR.

Steps to Integrate

  1. Pull the latest main branch from the repository:

https://github.com/Sahamati/sahamatinet-agent-downloadables

  1. Find the snalib source code, example source, and Java JAR under the following path in the repository: sahamatinet-agent-downloadables/snalib-dist

  2. Use the library for your AA service stack:

    • Node: snalib-dist/node/

    • Go: snalib-dist/go/

    • Dotnet: snalib-dist/dotnet/

    • Java: snalib-dist/java/ (source and JAR)

  3. Refer to the example source code in the repository to see how to call sna.dispatch() at each integration point.

📌 SNA is designed to be non-blocking. Metric data is sent asynchronously to the SNA agent to avoid adding latency to your AA service's API response times.

Last updated

Was this helpful?