diff --git a/libaries/.gitignore b/libaries/.gitignore
new file mode 100755
index 000000000..1bf403bd8
--- /dev/null
+++ b/libaries/.gitignore
@@ -0,0 +1,435 @@
+.idea/
+
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+##
+## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
+
+# User-specific files
+*.rsuser
+*.suo
+*.user
+*.userosscache
+*.sln.docstates
+
+# User-specific files (MonoDevelop/Xamarin Studio)
+*.userprefs
+
+# Mono auto generated files
+mono_crash.*
+
+# Build results
+[Dd]ebug/
+[Dd]ebugPublic/
+[Rr]elease/
+[Rr]eleases/
+x64/
+x86/
+[Aa][Rr][Mm]/
+[Aa][Rr][Mm]64/
+bld/
+[Bb]in/
+[Oo]bj/
+[Ll]og/
+
+# Visual Studio 2015/2017 cache/options directory
+.vs/
+# Uncomment if you have tasks that create the project's static files in wwwroot
+#wwwroot/
+
+# Visual Studio 2017 auto generated files
+Generated\ Files/
+
+# MSTest test Results
+[Tt]est[Rr]esult*/
+[Bb]uild[Ll]og.*
+
+# NUNIT
+*.VisualState.xml
+TestResult.xml
+
+# Build Results of an ATL Project
+[Dd]ebugPS/
+[Rr]eleasePS/
+dlldata.c
+
+# Benchmark Results
+BenchmarkDotNet.Artifacts/
+
+# .NET Core
+project.lock.json
+project.fragment.lock.json
+artifacts/
+
+# StyleCop
+StyleCopReport.xml
+
+# Files built by Visual Studio
+*_i.c
+*_p.c
+*_h.h
+*.ilk
+*.meta
+*.obj
+*.iobj
+*.pch
+*.pdb
+*.ipdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.tmp_proj
+*_wpftmp.csproj
+*.log
+*.vspscc
+*.vssscc
+.builds
+*.pidb
+*.svclog
+*.scc
+
+# Chutzpah Test files
+_Chutzpah*
+
+# Visual C++ cache files
+ipch/
+*.aps
+*.ncb
+*.opendb
+*.opensdf
+*.sdf
+*.cachefile
+*.VC.db
+*.VC.VC.opendb
+
+# Visual Studio profiler
+*.psess
+*.vsp
+*.vspx
+*.sap
+
+# Visual Studio Trace Files
+*.e2e
+
+# TFS 2012 Local Workspace
+$tf/
+
+# Guidance Automation Toolkit
+*.gpState
+
+# ReSharper is a .NET coding add-in
+_ReSharper*/
+*.[Rr]e[Ss]harper
+*.DotSettings.user
+
+# JustCode is a .NET coding add-in
+.JustCode
+
+# TeamCity is a build add-in
+_TeamCity*
+
+# DotCover is a Code Coverage Tool
+*.dotCover
+
+# AxoCover is a Code Coverage Tool
+.axoCover/*
+!.axoCover/settings.json
+
+# Visual Studio code coverage results
+*.coverage
+*.coveragexml
+
+# NCrunch
+_NCrunch_*
+.*crunch*.local.xml
+nCrunchTemp_*
+
+# MightyMoose
+*.mm.*
+AutoTest.Net/
+
+# Web workbench (sass)
+.sass-cache/
+
+# Installshield output folder
+[Ee]xpress/
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish/
+
+# Publish Web Output
+*.[Pp]ublish.xml
+*.azurePubxml
+# Note: Comment the next line if you want to checkin your web deploy settings,
+# but database connection strings (with potential passwords) will be unencrypted
+*.pubxml
+*.publishproj
+
+# Microsoft Azure Web App publish settings. Comment the next line if you want to
+# checkin your Azure Web App publish settings, but sensitive information contained
+# in these scripts will be unencrypted
+PublishScripts/
+
+# NuGet Packages
+*.nupkg
+# The packages folder can be ignored because of Package Restore
+**/[Pp]ackages/*
+# except build/, which is used as an MSBuild target.
+!**/[Pp]ackages/build/
+# Uncomment if necessary however generally it will be regenerated when needed
+#!**/[Pp]ackages/repositories.config
+# NuGet v3's project.json files produces more ignorable files
+*.nuget.props
+*.nuget.targets
+
+# Microsoft Azure Build Output
+csx/
+*.build.csdef
+
+# Microsoft Azure Emulator
+ecf/
+rcf/
+
+# Windows Store app package directories and files
+AppPackages/
+BundleArtifacts/
+Package.StoreAssociation.xml
+_pkginfo.txt
+*.appx
+*.appxbundle
+*.appxupload
+
+# Visual Studio cache files
+# files ending in .cache can be ignored
+*.[Cc]ache
+# but keep track of directories ending in .cache
+!?*.[Cc]ache/
+
+# Others
+ClientBin/
+~$*
+*~
+*.dbmdl
+*.dbproj.schemaview
+*.jfm
+*.pfx
+*.publishsettings
+orleans.codegen.cs
+
+# Including strong name files can present a security risk
+# (https://github.com/github/gitignore/pull/2483#issue-259490424)
+#*.snk
+
+# Since there are multiple workflows, uncomment next line to ignore bower_components
+# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
+#bower_components/
+
+# RIA/Silverlight projects
+Generated_Code/
+
+# Backup & report files from converting an old project file
+# to a newer Visual Studio version. Backup files are not needed,
+# because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+UpgradeLog*.htm
+ServiceFabricBackup/
+*.rptproj.bak
+
+# SQL Server files
+*.mdf
+*.ldf
+*.ndf
+
+# Business Intelligence projects
+*.rdl.data
+*.bim.layout
+*.bim_*.settings
+*.rptproj.rsuser
+*- Backup*.rdl
+
+# Microsoft Fakes
+FakesAssemblies/
+
+# GhostDoc plugin setting file
+*.GhostDoc.xml
+
+# Node.js Tools for Visual Studio
+.ntvs_analysis.dat
+node_modules/
+
+# Visual Studio 6 build log
+*.plg
+
+# Visual Studio 6 workspace options file
+*.opt
+
+# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
+*.vbw
+
+# Visual Studio LightSwitch build output
+**/*.HTMLClient/GeneratedArtifacts
+**/*.DesktopClient/GeneratedArtifacts
+**/*.DesktopClient/ModelManifest.xml
+**/*.Server/GeneratedArtifacts
+**/*.Server/ModelManifest.xml
+_Pvt_Extensions
+
+# Paket dependency manager
+.paket/paket.exe
+paket-files/
+
+# FAKE - F# Make
+.fake/
+
+# CodeRush personal settings
+.cr/personal
+
+# Python Tools for Visual Studio (PTVS)
+__pycache__/
+*.pyc
+
+# Cake - Uncomment if you are using it
+# tools/**
+# !tools/packages.config
+
+# Tabs Studio
+*.tss
+
+# Telerik's JustMock configuration file
+*.jmconfig
+
+# BizTalk build output
+*.btp.cs
+*.btm.cs
+*.odx.cs
+*.xsd.cs
+
+# OpenCover UI analysis results
+OpenCover/
+
+# Azure Stream Analytics local run output
+ASALocalRun/
+
+# MSBuild Binary and Structured Log
+*.binlog
+
+# NVidia Nsight GPU debugger configuration file
+*.nvuser
+
+# MFractors (Xamarin productivity tool) working folder
+.mfractor/
+
+# Local History for Visual Studio
+.localhistory/
+
+# BeatPulse healthcheck temp database
+healthchecksdb
+
+# Backup folder for Package Reference Convert tool in Visual Studio 2017
+MigrationBackup/
+
+##
+## Visual studio for Mac
+##
+
+
+# globs
+Makefile.in
+*.userprefs
+*.usertasks
+config.make
+config.status
+aclocal.m4
+install-sh
+autom4te.cache/
+*.tar.gz
+tarballs/
+test-results/
+
+# Mac bundle stuff
+*.dmg
+*.app
+
+# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore
+# General
+.DS_Store
+.AppleDouble
+.LSOverride
+
+# Icon must end with two \r
+Icon
+
+
+# Thumbnails
+._*
+
+# Files that might appear in the root of a volume
+.DocumentRevisions-V100
+.fseventsd
+.Spotlight-V100
+.TemporaryItems
+.Trashes
+.VolumeIcon.icns
+.com.apple.timemachine.donotpresent
+
+# Directories potentially created on remote AFP share
+.AppleDB
+.AppleDesktop
+Network Trash Folder
+Temporary Items
+.apdisk
+
+# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore
+# Windows thumbnail cache files
+Thumbs.db
+ehthumbs.db
+ehthumbs_vista.db
+
+# Dump file
+*.stackdump
+
+# Folder config file
+[Dd]esktop.ini
+
+# Recycle Bin used on file shares
+$RECYCLE.BIN/
+
+# Windows Installer files
+*.cab
+*.msi
+*.msix
+*.msm
+*.msp
+
+# Windows shortcuts
+*.lnk
+
+# JetBrains Rider
+.idea/
+*.sln.iml
+
+##
+## Visual Studio Code
+##
+.vscode/*
+!.vscode/settings.json
+!.vscode/tasks.json
+!.vscode/launch.json
+!.vscode/extensions.json
diff --git a/libaries/AWS.Lambda.Powertools.sln b/libaries/AWS.Lambda.Powertools.sln
new file mode 100755
index 000000000..eb6da10fe
--- /dev/null
+++ b/libaries/AWS.Lambda.Powertools.sln
@@ -0,0 +1,66 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+#
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{00578DF3-A86D-4DB6-AD6E-EAD17A6ED401}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{2BA3A979-B60B-4C87-B2EA-5E8D0F5C59DC}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.LambdaPowertools", "src\Amazon.LambdaPowertools\Amazon.LambdaPowertools.csproj", "{4151C755-3E94-4A44-9E99-757A1F618839}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.LambdaPowertools.Logging", "src\Amazon.LambdaPowertools.Logging\Amazon.LambdaPowertools.Logging.csproj", "{FFE2462F-37C2-491D-98A0-130A70F1D262}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.LambdaPowertools.Metrics", "src\Amazon.LambdaPowertools.Metrics\Amazon.LambdaPowertools.Metrics.csproj", "{76158EC2-7E1D-42F9-961D-552A7326D3E1}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.LambdaPowertools.Tracing", "src\Amazon.LambdaPowertools.Tracing\Amazon.LambdaPowertools.Tracing.csproj", "{E9A5465C-914A-4B09-B76D-C02DE3469287}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.LambdaPowertools.Logging.Tests", "tests\Amazon.LambdaPowertools.Logging.Tests\Amazon.LambdaPowertools.Logging.Tests.csproj", "{C98AFCD0-B9A0-42D1-97C0-7A82D408B93D}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.LambdaPowertools.Metrics.Tests", "tests\Amazon.LambdaPowertools.Metrics.Tests\Amazon.LambdaPowertools.Metrics.Tests.csproj", "{F963F435-6CC6-49A1-81D9-229E44F4B52B}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Amazon.LambdaPowertools.Tracing.Tests", "tests\Amazon.LambdaPowertools.Tracing.Tests\Amazon.LambdaPowertools.Tracing.Tests.csproj", "{72C51B5E-A5CE-4399-9543-CB8FA053E156}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {4151C755-3E94-4A44-9E99-757A1F618839}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {4151C755-3E94-4A44-9E99-757A1F618839}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {4151C755-3E94-4A44-9E99-757A1F618839}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {4151C755-3E94-4A44-9E99-757A1F618839}.Release|Any CPU.Build.0 = Release|Any CPU
+ {FFE2462F-37C2-491D-98A0-130A70F1D262}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {FFE2462F-37C2-491D-98A0-130A70F1D262}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FFE2462F-37C2-491D-98A0-130A70F1D262}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {FFE2462F-37C2-491D-98A0-130A70F1D262}.Release|Any CPU.Build.0 = Release|Any CPU
+ {76158EC2-7E1D-42F9-961D-552A7326D3E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {76158EC2-7E1D-42F9-961D-552A7326D3E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {76158EC2-7E1D-42F9-961D-552A7326D3E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {76158EC2-7E1D-42F9-961D-552A7326D3E1}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E9A5465C-914A-4B09-B76D-C02DE3469287}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E9A5465C-914A-4B09-B76D-C02DE3469287}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E9A5465C-914A-4B09-B76D-C02DE3469287}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E9A5465C-914A-4B09-B76D-C02DE3469287}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C98AFCD0-B9A0-42D1-97C0-7A82D408B93D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C98AFCD0-B9A0-42D1-97C0-7A82D408B93D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C98AFCD0-B9A0-42D1-97C0-7A82D408B93D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C98AFCD0-B9A0-42D1-97C0-7A82D408B93D}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F963F435-6CC6-49A1-81D9-229E44F4B52B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F963F435-6CC6-49A1-81D9-229E44F4B52B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F963F435-6CC6-49A1-81D9-229E44F4B52B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F963F435-6CC6-49A1-81D9-229E44F4B52B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {72C51B5E-A5CE-4399-9543-CB8FA053E156}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {72C51B5E-A5CE-4399-9543-CB8FA053E156}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {72C51B5E-A5CE-4399-9543-CB8FA053E156}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {72C51B5E-A5CE-4399-9543-CB8FA053E156}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {4151C755-3E94-4A44-9E99-757A1F618839} = {00578DF3-A86D-4DB6-AD6E-EAD17A6ED401}
+ {FFE2462F-37C2-491D-98A0-130A70F1D262} = {00578DF3-A86D-4DB6-AD6E-EAD17A6ED401}
+ {76158EC2-7E1D-42F9-961D-552A7326D3E1} = {00578DF3-A86D-4DB6-AD6E-EAD17A6ED401}
+ {E9A5465C-914A-4B09-B76D-C02DE3469287} = {00578DF3-A86D-4DB6-AD6E-EAD17A6ED401}
+ {C98AFCD0-B9A0-42D1-97C0-7A82D408B93D} = {2BA3A979-B60B-4C87-B2EA-5E8D0F5C59DC}
+ {F963F435-6CC6-49A1-81D9-229E44F4B52B} = {2BA3A979-B60B-4C87-B2EA-5E8D0F5C59DC}
+ {72C51B5E-A5CE-4399-9543-CB8FA053E156} = {2BA3A979-B60B-4C87-B2EA-5E8D0F5C59DC}
+ EndGlobalSection
+EndGlobal
diff --git a/libaries/src/Amazon.LambdaPowertools.Logging/Amazon.LambdaPowertools.Logging.csproj b/libaries/src/Amazon.LambdaPowertools.Logging/Amazon.LambdaPowertools.Logging.csproj
new file mode 100644
index 000000000..8642d92f3
--- /dev/null
+++ b/libaries/src/Amazon.LambdaPowertools.Logging/Amazon.LambdaPowertools.Logging.csproj
@@ -0,0 +1,7 @@
+
+
+
+ netcoreapp3.1
+
+
+
diff --git a/libaries/src/Amazon.LambdaPowertools.Logging/Class1.cs b/libaries/src/Amazon.LambdaPowertools.Logging/Class1.cs
new file mode 100644
index 000000000..8c9f9c764
--- /dev/null
+++ b/libaries/src/Amazon.LambdaPowertools.Logging/Class1.cs
@@ -0,0 +1,8 @@
+using System;
+
+namespace Amazon.LambdaPowertools.Logging
+{
+ public class Class1
+ {
+ }
+}
\ No newline at end of file
diff --git a/libaries/src/Amazon.LambdaPowertools.Metrics/Amazon.LambdaPowertools.Metrics.csproj b/libaries/src/Amazon.LambdaPowertools.Metrics/Amazon.LambdaPowertools.Metrics.csproj
new file mode 100644
index 000000000..8642d92f3
--- /dev/null
+++ b/libaries/src/Amazon.LambdaPowertools.Metrics/Amazon.LambdaPowertools.Metrics.csproj
@@ -0,0 +1,7 @@
+
+
+
+ netcoreapp3.1
+
+
+
diff --git a/libaries/src/Amazon.LambdaPowertools.Metrics/Class1.cs b/libaries/src/Amazon.LambdaPowertools.Metrics/Class1.cs
new file mode 100644
index 000000000..8ac84b377
--- /dev/null
+++ b/libaries/src/Amazon.LambdaPowertools.Metrics/Class1.cs
@@ -0,0 +1,8 @@
+using System;
+
+namespace Amazon.LambdaPowertools.Metrics
+{
+ public class Class1
+ {
+ }
+}
\ No newline at end of file
diff --git a/libaries/src/Amazon.LambdaPowertools.Tracing/Amazon.LambdaPowertools.Tracing.csproj b/libaries/src/Amazon.LambdaPowertools.Tracing/Amazon.LambdaPowertools.Tracing.csproj
new file mode 100644
index 000000000..8642d92f3
--- /dev/null
+++ b/libaries/src/Amazon.LambdaPowertools.Tracing/Amazon.LambdaPowertools.Tracing.csproj
@@ -0,0 +1,7 @@
+
+
+
+ netcoreapp3.1
+
+
+
diff --git a/libaries/src/Amazon.LambdaPowertools.Tracing/CaptureHandler.cs b/libaries/src/Amazon.LambdaPowertools.Tracing/CaptureHandler.cs
new file mode 100644
index 000000000..edb2fc330
--- /dev/null
+++ b/libaries/src/Amazon.LambdaPowertools.Tracing/CaptureHandler.cs
@@ -0,0 +1,19 @@
+using System;
+
+namespace Amazon.LambdaPowertools.Tracing
+{
+ [AttributeUsage(AttributeTargets.Class, Inherited = false)]
+ public class CaptureHandler : Attribute
+ {
+ public CaptureHandler(ITracerOptions options)
+ {
+ // not implemented
+ }
+
+ public CaptureHandler(string service = "undefined", bool disabled = false, bool autoPatch = true,
+ string patchmodules = null)
+ {
+ // not implemented
+ }
+ }
+}
\ No newline at end of file
diff --git a/libaries/src/Amazon.LambdaPowertools.Tracing/CaptureMethod.cs b/libaries/src/Amazon.LambdaPowertools.Tracing/CaptureMethod.cs
new file mode 100644
index 000000000..5dce472d7
--- /dev/null
+++ b/libaries/src/Amazon.LambdaPowertools.Tracing/CaptureMethod.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+
+namespace Amazon.LambdaPowertools.Tracing
+{
+ ///
+ /// Decorator to trace a function execution
+ /// Creates subsegment named after the method
+ /// Optionally supports both sync and async method
+ /// Adds function response as trace metadata using service attribute as metadata namespace
+ ///
+
+ [AttributeUsage(AttributeTargets.Method, Inherited = false)]
+ public class CaptureMethod : Attribute
+ {
+ public CaptureMethod(ITracerOptions options)
+ {
+ // not implemented
+ }
+
+ public CaptureMethod(string service = "undefined", bool disabled = false, bool autoPatch = true,
+ string patchmodules = null)
+ {
+ // not implemented
+ }
+ }
+}
\ No newline at end of file
diff --git a/libaries/src/Amazon.LambdaPowertools.Tracing/ITracer.cs b/libaries/src/Amazon.LambdaPowertools.Tracing/ITracer.cs
new file mode 100644
index 000000000..ac0c2e10b
--- /dev/null
+++ b/libaries/src/Amazon.LambdaPowertools.Tracing/ITracer.cs
@@ -0,0 +1,11 @@
+using System.Collections.Generic;
+
+namespace Amazon.LambdaPowertools.Tracing
+{
+ public interface ITracer
+ {
+ public void Patch(List modules);
+ public void PutAnnotation(string key, string value);
+ public void PutMetadata(string key, string value) ;
+ }
+}
\ No newline at end of file
diff --git a/libaries/src/Amazon.LambdaPowertools.Tracing/ITracerOptions.cs b/libaries/src/Amazon.LambdaPowertools.Tracing/ITracerOptions.cs
new file mode 100644
index 000000000..a9886f30e
--- /dev/null
+++ b/libaries/src/Amazon.LambdaPowertools.Tracing/ITracerOptions.cs
@@ -0,0 +1,27 @@
+using System;
+
+namespace Amazon.LambdaPowertools.Tracing
+{
+ public interface ITracerOptions
+ {
+ ///
+ /// Service: default "service_undefined", env:POWERTOOLS_SERVICE_NAME
+ ///
+ public string Service { get; set; }
+
+ ///
+ /// Explicitly disable tracing via env var POWERTOOLS_TRACE_DISABLED="true"
+ ///
+ public bool Disabled { get; set; }
+
+ ///
+ /// If true, it'll use X-Ray to patch all supported libraries at initialization
+ ///
+ public bool AutoPatch { get; set; }
+
+ ///
+ /// Tuple of specific supported modules by X-Ray that should be patched
+ ///
+ public Tuple PatchModules { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/libaries/src/Amazon.LambdaPowertools.Tracing/Tracer.cs b/libaries/src/Amazon.LambdaPowertools.Tracing/Tracer.cs
new file mode 100644
index 000000000..9daa356c7
--- /dev/null
+++ b/libaries/src/Amazon.LambdaPowertools.Tracing/Tracer.cs
@@ -0,0 +1,22 @@
+using System.Collections.Generic;
+
+namespace Amazon.LambdaPowertools.Tracing
+{
+ public class Tracer : ITracer
+ {
+ public void Patch(List modules)
+ {
+ throw new System.NotImplementedException();
+ }
+
+ public void PutAnnotation(string key, string value)
+ {
+ throw new System.NotImplementedException();
+ }
+
+ public void PutMetadata(string key, string value)
+ {
+ throw new System.NotImplementedException();
+ }
+ }
+}
\ No newline at end of file
diff --git a/libaries/src/Amazon.LambdaPowertools/Amazon.LambdaPowertools.csproj b/libaries/src/Amazon.LambdaPowertools/Amazon.LambdaPowertools.csproj
new file mode 100644
index 000000000..8642d92f3
--- /dev/null
+++ b/libaries/src/Amazon.LambdaPowertools/Amazon.LambdaPowertools.csproj
@@ -0,0 +1,7 @@
+
+
+
+ netcoreapp3.1
+
+
+
diff --git a/libaries/src/Amazon.LambdaPowertools/Class1.cs b/libaries/src/Amazon.LambdaPowertools/Class1.cs
new file mode 100644
index 000000000..5c9a9d0cc
--- /dev/null
+++ b/libaries/src/Amazon.LambdaPowertools/Class1.cs
@@ -0,0 +1,8 @@
+using System;
+
+namespace Amazon.LambdaPowertools
+{
+ public class Class1
+ {
+ }
+}
\ No newline at end of file
diff --git a/libaries/tests/Amazon.LambdaPowertools.Logging.Tests/Amazon.LambdaPowertools.Logging.Tests.csproj b/libaries/tests/Amazon.LambdaPowertools.Logging.Tests/Amazon.LambdaPowertools.Logging.Tests.csproj
new file mode 100644
index 000000000..8642d92f3
--- /dev/null
+++ b/libaries/tests/Amazon.LambdaPowertools.Logging.Tests/Amazon.LambdaPowertools.Logging.Tests.csproj
@@ -0,0 +1,7 @@
+
+
+
+ netcoreapp3.1
+
+
+
diff --git a/libaries/tests/Amazon.LambdaPowertools.Logging.Tests/Class1.cs b/libaries/tests/Amazon.LambdaPowertools.Logging.Tests/Class1.cs
new file mode 100644
index 000000000..95514fdd8
--- /dev/null
+++ b/libaries/tests/Amazon.LambdaPowertools.Logging.Tests/Class1.cs
@@ -0,0 +1,10 @@
+using System;
+
+namespace Amazon.LambdaPowertools.Logging.Tests
+{
+
+
+ public class Class1
+ {
+ }
+}
\ No newline at end of file
diff --git a/libaries/tests/Amazon.LambdaPowertools.Metrics.Tests/Amazon.LambdaPowertools.Metrics.Tests.csproj b/libaries/tests/Amazon.LambdaPowertools.Metrics.Tests/Amazon.LambdaPowertools.Metrics.Tests.csproj
new file mode 100644
index 000000000..8642d92f3
--- /dev/null
+++ b/libaries/tests/Amazon.LambdaPowertools.Metrics.Tests/Amazon.LambdaPowertools.Metrics.Tests.csproj
@@ -0,0 +1,7 @@
+
+
+
+ netcoreapp3.1
+
+
+
diff --git a/libaries/tests/Amazon.LambdaPowertools.Metrics.Tests/Class1.cs b/libaries/tests/Amazon.LambdaPowertools.Metrics.Tests/Class1.cs
new file mode 100644
index 000000000..5f34f0cca
--- /dev/null
+++ b/libaries/tests/Amazon.LambdaPowertools.Metrics.Tests/Class1.cs
@@ -0,0 +1,8 @@
+using System;
+
+namespace Amazon.LambdaPowertools.Metrics.Tests
+{
+ public class Class1
+ {
+ }
+}
\ No newline at end of file
diff --git a/libaries/tests/Amazon.LambdaPowertools.Tracing.Tests/Amazon.LambdaPowertools.Tracing.Tests.csproj b/libaries/tests/Amazon.LambdaPowertools.Tracing.Tests/Amazon.LambdaPowertools.Tracing.Tests.csproj
new file mode 100644
index 000000000..057a51ba5
--- /dev/null
+++ b/libaries/tests/Amazon.LambdaPowertools.Tracing.Tests/Amazon.LambdaPowertools.Tracing.Tests.csproj
@@ -0,0 +1,11 @@
+
+
+
+ netcoreapp3.1
+
+
+
+
+
+
+
diff --git a/libaries/tests/Amazon.LambdaPowertools.Tracing.Tests/TestFunction.cs b/libaries/tests/Amazon.LambdaPowertools.Tracing.Tests/TestFunction.cs
new file mode 100644
index 000000000..859ebd390
--- /dev/null
+++ b/libaries/tests/Amazon.LambdaPowertools.Tracing.Tests/TestFunction.cs
@@ -0,0 +1,38 @@
+using System;
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Threading.Tasks;
+
+namespace Amazon.LambdaPowertools.Tracing.Tests
+{
+
+ public class TestFunction
+ {
+ private readonly ITracer _tracer;
+
+ public TestFunction()
+ {
+ _tracer = new Tracer();
+ }
+
+
+ [Obsolete]
+ [CaptureMethod(service: "MyService", disabled:false, autoPatch: false, patchmodules: null)]
+ private string ConfirmBooking(string bookingId)
+ {
+ var response = AddConfirmation(bookingId);
+
+ _tracer.PutMetadata("BookingConfirmation", response["requestId"]);
+ _tracer.PutMetadata("Booking confirmation", JSON);
+ _tracer.PutMetadata("", "");
+
+
+ return response;
+ }
+
+ private Dictionary AddConfirmation(string bookingId)
+ {
+ throw new NotImplementedException();
+ }
+ }
+}
\ No newline at end of file