Skip to content

Commit 1b8fb3d

Browse files
authored
Merge pull request #30 from DataDog/daniel/awslogfunction
Rename custom tag
2 parents 55e976b + 706ab14 commit 1b8fb3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Log/lambda_function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def lambda_handler(event, context):
5757
aws_meta["function_version"] = context.function_version
5858
aws_meta["invoked_function_arn"] = context.invoked_function_arn
5959
#Add custom tags here by adding new value with the following format "key1:value1, key2:value2" - might be subject to modifications
60-
metadata[DD_CUSTOM_TAGS] = "functionname:" + context.function_name+ ",memorysize:"+ context.memory_limit_in_mb
60+
metadata[DD_CUSTOM_TAGS] = "forwardername:" + context.function_name+ ",memorysize:"+ context.memory_limit_in_mb
6161

6262
try:
6363
logs = generate_logs(event)

0 commit comments

Comments
 (0)