feat(logshipper): support dynamic OmniLogger credentials
- Add per-service OmniLogger credentials to core config and update subscriptions. - Follow config pushes and enforce entry and request size limits. - Requeue batches after transient send failures.
This commit is contained in:
1 parent
76bf5916fe
commit
8701874efb
20 files changed
+4908
-61
No files matched your search
@@ -28,9 +28,16 @@ from .authclient import (
|
||||
token_from_request,
|
||||
)
|
||||
from .config import DatabaseConfig, database_url_from_env
|
||||
from .coreconfig import MIN_INTERNAL_SECRET_LENGTH, internal_secret_matches, internal_secret_usable
|
||||
from .coreconfig import (
|
||||
MIN_INTERNAL_SECRET_LENGTH,
|
||||
follow_omnilogger,
|
||||
handle_core_services_push,
|
||||
internal_secret_matches,
|
||||
internal_secret_usable,
|
||||
)
|
||||
from .coreconfig import Info as CoreConfigInfo
|
||||
from .coreconfig import Store as CoreConfigStore
|
||||
from .logshipper import OmniLoggerHandler, Shipper
|
||||
from .postgres import Database
|
||||
from .tokens import hash_token, new_session_token
|
||||
from .totp import generate_totp_secret, totp_provisioning_uri, verify_totp, verify_totp_step
|
||||
@@ -46,6 +53,8 @@ __all__ = [
|
||||
"token_from_request",
|
||||
"CoreConfigInfo",
|
||||
"CoreConfigStore",
|
||||
"follow_omnilogger",
|
||||
"handle_core_services_push",
|
||||
"internal_secret_matches",
|
||||
"internal_secret_usable",
|
||||
"MIN_INTERNAL_SECRET_LENGTH",
|
||||
@@ -65,6 +74,8 @@ __all__ = [
|
||||
"hash_token",
|
||||
"new_session_token",
|
||||
"normalize_role",
|
||||
"OmniLoggerHandler",
|
||||
"Shipper",
|
||||
"password_hash_needs_upgrade",
|
||||
"totp_provisioning_uri",
|
||||
"verify_and_upgrade_password",
|
||||
|
||||
Reference in new issue
Block a user