-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Connectors workflow #140
base: main
Are you sure you want to change the base?
Conversation
Test Results219 tests - 3 218 ✅ - 3 1m 44s ⏱️ ±0s Results for commit 604ce4f. ± Comparison against base commit 7c6d61f. This pull request removes 6 and adds 3 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #140 +/- ##
==========================================
- Coverage 90.76% 90.21% -0.55%
==========================================
Files 35 35
Lines 2500 2566 +66
==========================================
+ Hits 2269 2315 +46
- Misses 231 251 +20 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the work. Some little changes to apply and some points to be aware of.
# Conflicts: # CHANGELOG.md # pyproject.toml # sekoia_automation/aio/connector.py # sekoia_automation/aio/helpers/http/http_client.py # tests/aio/test_connector.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, that's a lot of work! Few questions:
|
||
class MetricsMixin: | ||
_prometheus_namespace = "symphony_module_common" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we usually have an incoming messages
counter too?
_incoming_events: Counter = Counter( | |
name="collected_messages", | |
documentation="Number of messages consumed", | |
namespace=prom_namespace, | |
labelnames=["intake_key"], | |
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be honest I did not use it... But I can add if it is useful
@vg-svitla I've tried to use this version of sekoia-automation-sdk with existing connectors w/o any additional changes
But I got:
New metrics mechanism seems to be interfering with existing one. |
…/connector_workflow # Conflicts: # CHANGELOG.md # pyproject.toml # tests/aio/test_connector.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
# Conflicts: # CHANGELOG.md # pyproject.toml
No description provided.