-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
opentelemetry: add event. add exception. add contextmanager from client.
update datadog
- Loading branch information
Showing
4 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
automon/integrations/openTelemetryWrapper/test/test_memory_trace_client.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import unittest | ||
import asyncio | ||
|
||
from automon.integrations.openTelemetryWrapper import OpenTelemetryClient | ||
|
||
|
||
class MyTestCase(unittest.TestCase): | ||
client = OpenTelemetryClient() | ||
|
||
def test_something(self): | ||
self.assertTrue(asyncio.run( | ||
self.client.test()) | ||
) | ||
|
||
|
||
if __name__ == '__main__': | ||
unittest.main() |
File renamed without changes.