You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
There are 2 possible modes to use malabi.
This discussion is for talking about the pros and cons of each mode, and decide on which mode we should focus on.
Single process
In this mode, the malabi instrumentation and the test suite will be on the same process.
This is usually common for unit tests.
Unit tests usually have lots of mocks (will prevent span creation)
Remote process
In this mode, the malabi instrumentation will run on one process running the main service.
The test runner will run on a different process, and the spans will be fetched using HTTP requests (wrapped in malabi easy-to-use utils).
This is common for integration tests, a common setup is wiring everything using docker-compose.
Pros
Can be used with jest
Provides hard to get visibility for this kind of setup
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
There are 2 possible modes to use malabi.
This discussion is for talking about the pros and cons of each mode, and decide on which mode we should focus on.
Single process
In this mode, the malabi instrumentation and the test suite will be on the same process.
This is usually common for unit tests.
Pros
Cons
Remote process
In this mode, the malabi instrumentation will run on one process running the main service.
The test runner will run on a different process, and the spans will be fetched using HTTP requests (wrapped in malabi easy-to-use utils).
This is common for integration tests, a common setup is wiring everything using docker-compose.
Pros
Cons
Beta Was this translation helpful? Give feedback.
All reactions