Skip to content

Commit

Permalink
Package caching
Browse files Browse the repository at this point in the history
  • Loading branch information
ge0Aja committed Feb 26, 2024
1 parent fca42eb commit deeeb9b
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Empty file.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import boto3

from base_tags_cache import (
from caching.base_tags_cache import (
BaseTagsCache,
logger,
sanitize_aws_tag_string,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from botocore.exceptions import ClientError

from base_tags_cache import (
from caching.base_tags_cache import (
GET_RESOURCES_LAMBDA_FILTER,
BaseTagsCache,
logger,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from botocore.exceptions import ClientError

from base_tags_cache import (
from caching.base_tags_cache import (
BaseTagsCache,
logger,
parse_get_resources_response_for_tags_by_arn,
Expand Down
2 changes: 1 addition & 1 deletion aws/logs_monitoring/enhanced_lambda_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import re
import datetime
from time import time
from lambda_cache import LambdaTagsCache
from caching.lambda_cache import LambdaTagsCache

ENHANCED_METRICS_NAMESPACE_PREFIX = "aws.lambda.enhanced"

Expand Down
4 changes: 2 additions & 2 deletions aws/logs_monitoring/parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
get_lambda_function_name_from_logstream_name,
is_lambda_customized_log_group,
)
from step_functions_cache import StepFunctionsTagsCache
from cloudwatch_log_group_cache import CloudwatchLogGroupTagsCache
from caching.step_functions_cache import StepFunctionsTagsCache
from caching.cloudwatch_log_group_cache import CloudwatchLogGroupTagsCache
from telemetry import (
DD_FORWARDER_TELEMETRY_NAMESPACE_PREFIX,
get_forwarder_telemetry_tags,
Expand Down
4 changes: 2 additions & 2 deletions aws/logs_monitoring/tests/test_enhanced_lambda_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
create_out_of_memory_enhanced_metric,
)

from base_tags_cache import (
from caching.base_tags_cache import (
sanitize_aws_tag_string,
parse_get_resources_response_for_tags_by_arn,
get_dd_tag_string_from_aws_dict,
)
from lambda_cache import LambdaTagsCache
from caching.lambda_cache import LambdaTagsCache


class TestEnhancedLambdaMetrics(unittest.TestCase):
Expand Down

0 comments on commit deeeb9b

Please sign in to comment.