Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
250 commits
Select commit Hold shift + click to select a range
8bf9b77
chore: added gitignore and updated licence
sliedig Aug 7, 2020
abed35e
chore: added example project
sliedig Aug 7, 2020
b388303
chore: added docs
sliedig Aug 7, 2020
47b62f5
chore: added github files and templates
sliedig Aug 7, 2020
c94883a
Merge pull request #1 from sliedig/develop
sliedig Aug 7, 2020
57d2477
chore(deps): bump prismjs from 1.20.0 to 1.21.0 in /docs
dependabot[bot] Aug 8, 2020
80d3db3
Merge pull request #2 from awslabs/dependabot/npm_and_yarn/docs/prism…
sliedig Aug 8, 2020
efe43fa
fix: resolving dependecy alert CVE-2020-8116
sliedig Aug 20, 2020
bc9b7f3
Merge pull request #3 from sliedig/develop
sliedig Aug 20, 2020
5453556
chore: initial folder structure
sliedig Sep 8, 2020
8ed7f63
Merge pull request #4 from sliedig/develop
sliedig Sep 8, 2020
6e0952a
fix: fixed spelling in libraries folder name
sliedig Sep 8, 2020
6e8d9d9
fix: making test function compile.
sliedig Sep 8, 2020
4e8ee01
Merge pull request #5 from sliedig/develop
sliedig Sep 8, 2020
4dc0735
Update build.yml
sliedig Sep 8, 2020
f94f120
Update build.yml
sliedig Sep 8, 2020
0ba3369
feature:logging (#6)
msimpsonnz Sep 10, 2020
9a9d027
implementation of custom metrics with EMF
t1agob Sep 14, 2020
60befae
Update libraries/src/Amazon.LambdaPowertools.Metrics/MetricsManager.cs
t1agob Sep 21, 2020
04003a6
Update libraries/src/Amazon.LambdaPowertools.Metrics/MetricsManager.cs
t1agob Sep 21, 2020
43f1a40
Update libraries/src/Amazon.LambdaPowertools.Metrics/MetricsManager.cs
t1agob Sep 21, 2020
8f3e9db
Update MetricsManager.cs
t1agob Sep 21, 2020
b40d4fe
Update libraries/src/Amazon.LambdaPowertools.Metrics/MetricsManager.cs
t1agob Oct 9, 2020
6eefc51
Update libraries/src/Amazon.LambdaPowertools.Metrics/MetricsManager.cs
t1agob Oct 9, 2020
b6dccfe
updated method names to comply to suggestions
t1agob Oct 9, 2020
7b457db
moved namespace and service to a shared project
t1agob Oct 9, 2020
1ad3fe5
added support for multiple values for same metric
t1agob Oct 9, 2020
608fde9
fix: intermin fix to resolve vulnerability issues.
sliedig Oct 11, 2020
5d0a155
Merge pull request #8 from sliedig/develop
sliedig Oct 11, 2020
f3aa1d8
Merge pull request #7 from t1agob/develop
sliedig Oct 13, 2020
8a6e211
chore(deps): bump object-path from 0.11.4 to 0.11.5 in /docs
dependabot[bot] Oct 20, 2020
08c8c99
chore: interim resolution of docs package vulnerabilities
sliedig Oct 29, 2020
0ab6e60
Merge remote-tracking branch 'upstream/dependabot/npm_and_yarn/docs/o…
sliedig Oct 29, 2020
8bf146a
chore(deps): bump ini from 1.3.5 to 1.3.8 in /docs
dependabot[bot] Dec 13, 2020
aee1b01
Merge pull request #9 from awslabs/dependabot/npm_and_yarn/docs/objec…
sliedig Dec 14, 2020
3a875e3
Merge pull request #10 from awslabs/dependabot/npm_and_yarn/docs/ini-…
sliedig Dec 14, 2020
ffec553
Merge remote-tracking branch 'upstream/develop' into develop
sliedig Dec 14, 2020
b241a2b
chore(deps): bump socket.io from 2.3.0 to 2.4.1 in /docs
dependabot[bot] Jan 21, 2021
1dc827c
Merge pull request #11 from awslabs/dependabot/npm_and_yarn/docs/sock…
sliedig Jan 22, 2021
8b0b9fa
fix: update packages to resolve vulnerabilities.
sliedig Jan 25, 2021
6318b80
Merge remote-tracking branch 'upstream/develop' into develop
sliedig Jan 25, 2021
595c9f4
fix: resolving merge conflict
sliedig Jan 25, 2021
3197000
Merge pull request #12 from sliedig/develop
sliedig Jan 25, 2021
7e8fe18
fix: fixing node vulnerabilites for docs
sliedig Jan 25, 2021
49c1614
Merge pull request #13 from sliedig/develop
sliedig Jan 25, 2021
f27a0ae
chore(deps): bump elliptic from 6.5.3 to 6.5.4 in /docs
dependabot[bot] Mar 11, 2021
8af7eac
Merge pull request #14 from awslabs/dependabot/npm_and_yarn/docs/elli…
sliedig Mar 12, 2021
3d3e2a7
chore(deps): bump ssri from 6.0.1 to 6.0.2 in /docs
dependabot[bot] Apr 20, 2021
3ac5e4c
chore(deps): bump underscore from 1.12.0 to 1.13.1 in /docs
dependabot[bot] May 7, 2021
18f8c78
chore(deps): bump ua-parser-js from 0.7.23 to 0.7.28 in /docs
dependabot[bot] May 8, 2021
5bc67f7
chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 in /docs
dependabot[bot] May 9, 2021
202957b
chore(deps): bump url-parse from 1.4.7 to 1.5.1 in /docs
dependabot[bot] May 10, 2021
77eb52a
Merge pull request #15 from awslabs/dependabot/npm_and_yarn/docs/ssri…
sliedig May 11, 2021
a8012fa
Merge pull request #16 from awslabs/dependabot/npm_and_yarn/docs/unde…
sliedig May 11, 2021
d83a3f0
Merge pull request #17 from awslabs/dependabot/npm_and_yarn/docs/ua-p…
sliedig May 11, 2021
8b946e6
Merge pull request #18 from awslabs/dependabot/npm_and_yarn/docs/host…
sliedig May 11, 2021
b0c3bc1
Merge pull request #19 from awslabs/dependabot/npm_and_yarn/docs/url-…
sliedig May 11, 2021
4b1e8e0
chore: temporarily removing docs while content
sliedig May 11, 2021
c2d7bb7
added full support for Web projects
Jun 9, 2021
356c384
completing push
Jun 9, 2021
58b937e
added support for EMF payload serialization
Jun 15, 2021
9a637b8
removed non-shared entities from PowertoolsConfig
Jun 24, 2021
5308c71
* MetricsLogger.cs: Added few more tests
Jun 24, 2021
41a6811
updated web sample
Jun 25, 2021
919a81c
implement way to expose namespace to Logger
Jun 25, 2021
06325b0
updated tests
Jun 25, 2021
c476ea8
Update build.yml
t1agob Jun 25, 2021
3626de1
Update working directory location
t1agob Jun 25, 2021
796c5af
Update README.md
t1agob Jun 25, 2021
a58ebed
updated service name to be shared across
Jun 30, 2021
f6a87ae
updated Unit enum name to MetricsUnit
Jun 30, 2021
af58b93
fixed tests after change of MetricsUnit enum
Jun 30, 2021
1cc0930
renamed MetricsLogger to Metrics
Jun 30, 2021
08f05a5
added logic for empty metrics list and exceptions
Jun 30, 2021
85e5447
Merge pull request #21 from t1agob/develop
sliedig Aug 21, 2021
3f45b69
chore: refactored to new namespace
sliedig Aug 21, 2021
5d8ccb2
Merge pull request #22 from sliedig/develop
sliedig Aug 21, 2021
84e34e1
chore: updated readme
sliedig Aug 21, 2021
6894e34
feat: added docs template
sliedig Aug 21, 2021
68ab330
Merge pull request #23 from sliedig/develop
sliedig Aug 21, 2021
7dfc80d
chore: updated github templates
sliedig Aug 21, 2021
ef69017
feat: update make and doc dep to build docs
sliedig Aug 21, 2021
f74ecdf
chore: added customer 404 page
sliedig Aug 21, 2021
ec4e660
Merge pull request #24 from sliedig/develop
sliedig Aug 21, 2021
d9edb33
chore: updating doc build workflow
sliedig Aug 23, 2021
9f1634c
Added support for Source Generators (static)
t1agob Sep 14, 2021
19f7067
Merge pull request #1 from t1agob/sourcegenerators
t1agob Sep 16, 2021
1870215
dynamic namespace and class name in src generator
t1agob Sep 16, 2021
f4210c2
removed test console app
t1agob Sep 16, 2021
bedd44a
removed old metrics initialization from example
t1agob Sep 16, 2021
8ca3807
updated gitignore file
t1agob Sep 16, 2021
d45f509
updated gitignore
t1agob Sep 16, 2021
3b436ed
deleted temp generators project
t1agob Sep 16, 2021
10ebdf5
fixed issue on of old dependency on Metrics csproj
t1agob Sep 16, 2021
408bc45
Merge pull request #25 from t1agob/develop
sliedig Sep 22, 2021
47eeaa8
updated build action
t1agob Sep 22, 2021
8f8b9d4
enforced C# version 9 as default
t1agob Sep 22, 2021
0e5b480
updated generator from .net standard 2.0 to .net core 3.1
t1agob Sep 22, 2021
bca9a7b
Update AWS.Lambda.PowerTools.Metrics.csproj
t1agob Sep 22, 2021
39daa68
created metrics attribute instead of using source generator
t1agob Sep 22, 2021
96fe227
Update AWS.Lambda.PowerTools.Metrics.csproj
t1agob Sep 22, 2021
c9a0dcc
Added Microsoft.CodeAnalysis dependency
t1agob Sep 22, 2021
946b7bb
Update AWS.Lambda.PowerTools.Metrics.csproj
t1agob Sep 22, 2021
e8a7d08
Update AWS.Lambda.PowerTools.Metrics.csproj
t1agob Sep 22, 2021
8c54710
Update AWS.Lambda.PowerTools.Metrics.csproj
t1agob Sep 22, 2021
137f1fd
Update build.yml
t1agob Sep 22, 2021
bd16ef6
Update build.yml
t1agob Sep 22, 2021
0d817f6
Update AWS.Lambda.PowerTools.Metrics.csproj
t1agob Sep 22, 2021
5ec570b
Update AWS.Lambda.PowerTools.Metrics.csproj
t1agob Sep 22, 2021
6c2b195
Update AWS.Lambda.PowerTools.Metrics.csproj
t1agob Sep 22, 2021
3ef001e
Update AWS.Lambda.PowerTools.Metrics.csproj
t1agob Sep 22, 2021
0c14c4a
updated build dotnet cli version to dotnet5
t1agob Sep 22, 2021
231e673
fixed tests that were failing
t1agob Sep 22, 2021
bcdb8df
Update build.yml
t1agob Sep 22, 2021
23f7a85
[fix] Fixing build issue #26 (#27)
t1agob Sep 22, 2021
a4dbf78
Merge branch 'awslabs:develop' into develop
t1agob Nov 12, 2021
08c5c34
updated metrics namespace and remove source generators
t1agob Nov 23, 2021
7a96c73
Merge branch 'develop' of https://github.com/t1agob/aws-lambda-powert…
t1agob Nov 23, 2021
76c4b69
added support for default dimensions
t1agob Nov 24, 2021
99fe98f
fixed issue with default dimensions when flushing data
t1agob Nov 24, 2021
bccf25e
add code coverage support
t1agob Nov 24, 2021
1f68f08
code coverage configuration
t1agob Nov 24, 2021
46cfb1b
added code coverage badge to README
t1agob Nov 24, 2021
457eb3f
added unit tests
t1agob Nov 24, 2021
6ec9e33
added more tests
t1agob Nov 24, 2021
8d2db20
amirkaws/tracing 1 (#28)
amirkaws Dec 2, 2021
a655112
Merge branch 'develop' into develop
t1agob Dec 2, 2021
fcdfd9c
Merge pull request #2 from awslabs/develop
t1agob Dec 2, 2021
ef1ac63
Update build.yml
t1agob Dec 6, 2021
6a58d88
chore(deps): bump mkdocs from 1.2.2 to 1.2.3 (#29)
dependabot[bot] Dec 6, 2021
d729217
Amirkaws/tracing 3 (#30)
amirkaws Dec 6, 2021
37d25cb
Merge branch 'awslabs:develop' into develop
t1agob Dec 6, 2021
43cfafb
Updated Metrics implementation and tests with AspectInjector
t1agob Dec 7, 2021
bcffd35
Merge pull request #31 from t1agob/develop
sliedig Dec 8, 2021
763c6a7
improve metrics code
amirkaws Dec 8, 2021
9878542
revert changes for the set namespaces
amirkaws Dec 8, 2021
e840751
Merge pull request #32 from awslabs/amirkaws/metrics-1
sliedig Dec 9, 2021
667158d
Removed Newtonsoft package. Added metrics, metadata and dimension nul…
t1agob Dec 9, 2021
e626da1
Amirkaws/logging 1 (#43)
amirkaws Dec 9, 2021
1cf3b38
Comments added to Metrics methods for better developer experience (#44)
t1agob Dec 9, 2021
2650d7c
Metrics context initialization refactoring (#45)
t1agob Dec 9, 2021
6f63da7
Amirkaws/tracing 4 (#46)
amirkaws Dec 12, 2021
e96520e
Apply Tracing docs fixes (#47)
t1agob Dec 12, 2021
c9f19b3
Fixed build badge
t1agob Dec 13, 2021
a8c0016
Added metrics documentation and fixed discrepancies to other runtimes…
t1agob Dec 13, 2021
d04ae1b
moved aspnet projects to separate branch for later (#49)
t1agob Dec 14, 2021
22e4283
Tiagobar/documentation work (#50)
t1agob Dec 14, 2021
ad648fc
tiagobar/adding-docker-support-for-dotnet6-before-runtime-launch (#51)
t1agob Dec 14, 2021
df37a51
Amirkaws/logging 2 (#52)
amirkaws Dec 14, 2021
e428faa
fix blank target blank (#53)
amirkaws Dec 17, 2021
a9e3f8f
fix logging & tracing links (#54)
amirkaws Dec 17, 2021
08e2c34
Amirkaws/logging 4 (#55)
amirkaws Dec 19, 2021
f5ec513
chore: updating type documentation and file headers (#56)
sliedig Jan 8, 2022
c53eca8
feat: added package README files for core utilities
sliedig Jan 9, 2022
4946378
feat: updated project packaging properties
sliedig Jan 9, 2022
dfea5f0
fix: added missing include to pack README files
sliedig Jan 9, 2022
7164780
fix: replaced PackageIconUrl which is being depreciated with PackageIcon
sliedig Jan 10, 2022
5743c7d
chore: moved solution file into libraries. Need a separate solution f…
sliedig Jan 10, 2022
9976cb7
feat: added build tools to generate nuget packages
sliedig Jan 10, 2022
45d93a4
chor: new solution file for libraries
sliedig Jan 10, 2022
19ddb19
Added AWS.Lambda.Powertools.Examples solution file
sliedig Jan 10, 2022
9a12c81
Merge pull request #58 from sliedig/sliedig/nuget
sliedig Jan 10, 2022
4adc569
chore: set global .net version
sliedig Jan 10, 2022
2d9a408
fix: fixed build
sliedig Jan 10, 2022
e58ab5d
chore: migrated AWS.Lambda.PowerTools to AWS.Lambda.PowerTools.Common
sliedig Jan 10, 2022
b915ba8
Merge pull request #59 from sliedig/develop
sliedig Jan 10, 2022
bad8aef
Update build.yml
sliedig Jan 10, 2022
6ce37e0
chore: refctored PowerTools to Powertools
sliedig Jan 10, 2022
0d5d418
fix: forcing rename
sliedig Jan 10, 2022
4a367c9
fix: force directy rename
sliedig Jan 10, 2022
81ad908
Merge pull request #66 from sliedig/develop
sliedig Jan 10, 2022
a7023ff
rename PowerTools to Powertools (#67)
amirkaws Jan 10, 2022
37bf185
fix : Remove lambda core dependency (#69)
amirkaws Jan 12, 2022
02def97
fix docker build error (#71)
amirkaws Jan 17, 2022
9a3d5c3
adding workflow for PR naming enforcement (#72)
t1agob Jan 18, 2022
3370b57
ci: adding project maintenance workflows (#73)
t1agob Jan 18, 2022
fa7043c
disable tracing outside of lambda environment
amirkaws Jan 31, 2022
3d4276f
make tracing disable variable static
amirkaws Jan 31, 2022
d040ee6
remove .aws-sam folder
amirkaws Jan 31, 2022
996d4b6
improve static variable check
amirkaws Jan 31, 2022
df8092f
add method documentation
amirkaws Jan 31, 2022
c20b394
Merge pull request #74 from awslabs/amirkaws/disable-tracing-outside-…
sliedig Feb 2, 2022
04f24c0
test: Adding unit tests to enforce non-negative metrics (#76)
t1agob Feb 8, 2022
d351f1a
adding README to metrics package (#75)
t1agob Feb 8, 2022
bdbc053
adding Norm's recommendations (#77)
t1agob Feb 8, 2022
7af72eb
cleanup (#78)
amirkaws Feb 8, 2022
b20862d
docs: API docs generation (#79)
t1agob Feb 10, 2022
de16cd8
docs: update github actions to publish api docs (#80)
t1agob Feb 10, 2022
42f6e6c
docs: fix api docs generator installation (#81)
t1agob Feb 10, 2022
fa45eb0
docs: fix docfx path (#82)
t1agob Feb 10, 2022
caaefe2
docs: fixing docfx path (#83)
t1agob Feb 10, 2022
fde3c60
docs: merging api generation tasks (#84)
t1agob Feb 10, 2022
e157eb5
docs: homebrew installation (#85)
t1agob Feb 10, 2022
bf0a72f
docs: alternative brew installation (#86)
t1agob Feb 10, 2022
5c7b73b
docs: adding auto-generated API Reference to docs (#87)
t1agob Feb 11, 2022
01be0c9
adding new template and update logo on apidocs
t1agob Feb 14, 2022
5e1d507
added footer to api docs
t1agob Feb 14, 2022
25edfe1
updated landing page for api docs
t1agob Feb 14, 2022
fad9c2d
Merge pull request #89 from awslabs/api-docs-template
sliedig Feb 15, 2022
a5891c1
fix: proj references
sliedig Feb 15, 2022
59dce87
Merge pull request #90 from sliedig/develop
sliedig Feb 15, 2022
15afc2f
fix: fixed powertolls spelling in docs
sliedig Feb 16, 2022
bbd830c
feat: added serialisation options to force dictionary keys to camel case
sliedig Feb 16, 2022
9b0717b
Added support for configurable log output casing
t1agob Feb 17, 2022
b2c00db
Updated XRayTraceId constant value
t1agob Feb 17, 2022
9d1465c
adding information about POWERTOOLS_LOGGER_CASE
t1agob Feb 17, 2022
d753f14
Added unit tests to validate casing scenarios
t1agob Feb 17, 2022
5198fb0
Bumping AspectInjector to support new .net6.0.2
t1agob Feb 17, 2022
d9bfa2a
Removing unused nuget packages from metrics
t1agob Feb 17, 2022
e7d29a7
pinning global .net version
t1agob Feb 17, 2022
9342b14
Merge pull request #95 from awslabs/pr/91
sliedig Feb 18, 2022
4a19c9c
Moved classes to separate files.
sliedig Feb 20, 2022
e54431b
Updated docs
sliedig Feb 20, 2022
9fdaae0
Removed namespace provider prop from polders
sliedig Feb 20, 2022
c66ba1a
fix: explicitly adding doc files for build configurations
sliedig Feb 20, 2022
0f0e47c
fix: removed optional doc file paths
sliedig Feb 20, 2022
d93d2e6
feat: added Logging example
sliedig Feb 21, 2022
36dc993
fix: updated documentation and doc generation (#96)
sliedig Feb 21, 2022
a14b077
fix: updated Logging template description
sliedig Feb 24, 2022
b5f9677
feat: added init Metrics sample
sliedig Feb 24, 2022
8d44667
chore: cleaned up logging and metrics functions
sliedig Feb 24, 2022
ebd2efe
feat: added Tracing example
sliedig Feb 24, 2022
78d7906
feat: updated examples to include managed runtime configuration as we…
sliedig Feb 24, 2022
8be1fee
fix: added missing runtimes
sliedig Feb 25, 2022
e2382cf
Merge pull request #97 from sliedig/sliedig/examples
sliedig Feb 25, 2022
f36e580
feat: add extra fields to the logger methods (#98)
amirkaws Feb 25, 2022
b9aa6f2
feat: Logger output case attributes docs and unit testing (#100)
t1agob Feb 25, 2022
8b516d7
Update logging.md
t1agob Feb 25, 2022
9d2280f
Update logging.md
t1agob Feb 25, 2022
7df1e54
example project minor logging formatting issue fixed (#101)
amirkaws Feb 25, 2022
65e3974
chore: removed SimpleLambda from examples
sliedig Feb 26, 2022
6fd40b5
chore: added copyright to examples
sliedig Feb 26, 2022
2a1b9f8
chore: adding missed copyright info
sliedig Feb 26, 2022
0475567
examples clean up & bug fix
amirkaws Feb 27, 2022
d1d58a6
examples clean up & bug fix
amirkaws Feb 27, 2022
df0b86d
Merge pull request #103 from awslabs/amirkaws/fix-example-issues
sliedig Feb 27, 2022
97b7359
Merge remote-tracking branch 'upstream/develop' into sliedig/examples
sliedig Feb 28, 2022
e5c7afe
Merge pull request #102 from sliedig/sliedig/examples
sliedig Feb 28, 2022
91378bb
adding support for versioning
t1agob Mar 1, 2022
ac55c7b
fixed issue on getting versions
t1agob Mar 1, 2022
ece0dc8
triggered new version
t1agob Mar 1, 2022
53c4bbe
update version.json format
t1agob Mar 1, 2022
42c45e2
fixed issue with version substituion
t1agob Mar 1, 2022
aa7afe6
testing with version 0.0.1 of metrics
t1agob Mar 1, 2022
e1f3857
fix: skip duplicate nuget packages publish
t1agob Mar 1, 2022
e5b1fde
Update version.json
t1agob Mar 1, 2022
8183c1e
Update version.json
t1agob Mar 1, 2022
72b817f
Update version.json
t1agob Mar 1, 2022
a89545d
adding correct trigger to publish file
t1agob Mar 1, 2022
a1db007
docs: Reviewing documentation (#68)
sliedig Mar 3, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug, triage
assignees: ''

---

<!--- Provide a general summary of the issue in the Title above -->
<!--- How has this issue affected you? What are you trying to accomplish? -->

**What were you trying to accomplish?**

## Expected Behavior
<!--- If you're describing a bug, tell us what should happen -->
<!--- If you're suggesting a change/improvement, tell us how it should work -->

## Current Behavior
<!--- If describing a bug, tell us what happens instead of the expected behavior -->
<!--- If suggesting a change/improvement, explain the difference from current behavior -->

## Possible Solution
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
<!--- or ideas how to implement the addition or change -->

## Steps to Reproduce (for bugs)
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->
1.
2.
3.
4.

## Environment

* **Powertools version used**:
* **AWS Lambda function runtime:**
* **Debugging logs**

```csharp
# paste logs here
```
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation-improvements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Documentation improvements
about: Suggest a documentation update
title: ''
labels: documentation
assignees: ''

---

**What were you initially searching for in the docs?**
<!-- Please help us understand how you looked for information that was either not available or unclear -->

**Is this related to an existing part of the documentation? Please share a link**

**Describe how we could make it clearer**

**If you have a proposed update, please share it here**
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: feature-request, triage
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->

**Describe the solution you'd like**
<!-- A clear and concise description of what you want to happen. -->

**Describe alternatives you've considered**
<!-- A clear and concise description of any alternative solutions or features you've considered. -->

**Additional context**
<!-- Add any other context or screenshots about the feature request here. -->
62 changes: 62 additions & 0 deletions .github/ISSUE_TEMPLATE/rfc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
name: RFC
about: Feature design and proposals
title: 'RFC: '
labels: RFC, triage
assignees: ''
approved by: ''
---

## Key information

* RFC PR: (leave this empty)
* Related issue(s), if known:
* Area: (i.e. Tracer, Metrics, Logger, etc.)
* Meet [tenets](https://awslabs.github.io/aws-lambda-powertools-dotnet/#tenets): (Yes/no)
* Approved by: ''
* Reviewed by: ''

## Summary
[summary]: #summary

> One paragraph explanation of the feature.

## Motivation
[motivation]: #motivation

> Why are we doing this? What use cases does it support? What is the expected outcome?

## Proposal
[proposal]: #proposal

> This is the bulk of the RFC.

> Explain the design in enough detail for somebody familiar with Powertools to understand it, and for somebody familiar with the implementation to implement it.

**If this feature should be available in other runtimes (e.g. Java, Typescript), how would this look like to ensure consistency?**

## User Experience

**How would customers use it?**

**Any configuration or corner cases you'd expect?**

**Demonstration of before and after on how the experience will be better**

## Drawbacks
[drawbacks]: #drawbacks

> Why should we *not* do this?

> Do we need additional dependencies? Impact performance/package size?

## Rationale and alternatives
[rationale-and-alternatives]: #rationale-and-alternatives

* **What other designs have been considered? Why not them?**
* **What is the impact of not doing this?**

## Unresolved questions
[unresolved-questions]: #unresolved-questions

> Optional, stash area for topics that need further development e.g. TBD
25 changes: 25 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
**Issue #, if available:**

## Description of changes:

<!--- One or two sentences as a summary of what's being changed -->

**Checklist**

<!--- Leave unchecked if your change doesn't seem to apply -->

* [ ] [Meet tenets criteria](https://awslabs.github.io/aws-lambda-powertools-dotnet/#tenets)
* [ ] Update tests
* [ ] Update docs
* [ ] PR title follows [conventional commit semantics](https://github.com/awslabs/aws-lambda-powertools-dotnet/blob/develop/.github/semantic.yml)

## Breaking change checklist

<!--- Ignore if it's not a breaking change -->

**RFC issue #**:

* [ ] Migration process documented
* [ ] Implement warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
8 changes: 8 additions & 0 deletions .github/auto_assign-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
addAssignees: true

# The list of users to assign to new issues.
# If empty or not provided, the repository owner is assigned
assignees:
- t1agob
- sliedig
- amirkaws
45 changes: 45 additions & 0 deletions .github/boring-cyborg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
##### Labeler ##########################################################################################################
labelPRBasedOnFilePath:
area/logger:
- libraries/src/AWS.Lambda.Powertools.Logging/*
- libraries/src/AWS.Lambda.Powertools.Logging/**/*
area/tracer:
- libraries/src/AWS.Lambda.Powertools.Tracing/*
- libraries/src/AWS.Lambda.Powertools.Tracing/**/*
area/metrics:
- libraries/src/AWS.Lambda.Powertools.Metrics/*
- libraries/src/AWS.Lambda.Powertools.Metrics/**/*

documentation:
- docs/*
- docs/**/*
- mkdocs.yml

internal:
- .github/*
- .github/**/*
- .chglog/*
- .flake8
- .gitignore
- .pre-commit-config.yaml
- Makefile
- CONTRIBUTING.md
- CODE_OF_CONDUCT.md
- LICENSE

tests:
- libraries/tests/*
- libraries/tests/**/*


##### Greetings ########################################################################################################
firstPRWelcomeComment: >
Thanks a lot for your first contribution! Please check out our contributing guidelines and don't hesitate to ask whatever you need.

# Comment to be posted to congratulate user on their first merged PR
firstPRMergeComment: >
Awesome work, congrats on your first merged pull request and thank you for helping improve everyone's experience!

# Comment to be posted to on first time issues
firstIssueWelcomeComment: >
Thanks for opening your first issue here! We'll come back to you as soon as we can.
39 changes: 39 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
change-template: "* $TITLE (#$NUMBER) by @$AUTHOR"
categories:
- title: '⚡ Breaking Changes'
labels:
- 'breaking-change'
- title: '🌟New features and non-breaking changes'
labels:
- 'major'
- 'feature'
- title: '🌟 Minor Changes'
labels:
- 'enhancement'
- title: '📜 Documentation updates'
labels:
- 'documentation'
- title: '🐛 Bug and hot fixes'
labels:
- 'bug'
- 'fix'
- title: '🚒 Deprecations'
labels:
- 'deprecated'
- title: '🔧 Maintenance'
labels:
- 'internal'
- 'dependencies'
exclude-labels:
- 'skip-changelog'
tag-template: 'v$NEXT_PATCH_VERSION'
template: |
## Changes

**[Human readable summary of changes]**

$CHANGES

## This release was made possible by the following contributors:

$CONTRIBUTORS
19 changes: 19 additions & 0 deletions .github/semantic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# conventional commit types: https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json
types:
- feat
- fix
- docs
- style
- refactor
- perf
- test
- build
- ci
- chore
- revert
- improv

# Always validate the PR title
# and ignore the commits to lower the entry bar for contribution
# while titles make up the Release notes to ease maintenance overhead
titleOnly: true
17 changes: 17 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
only: issues
daysUntilStale: 30
daysUntilClose: 7
exemptLabels:
- bug
- documentation
- enhancement
- feature-request
- RFC
staleLabel: pending-close-response-required
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: >
This issue has been automatically closed because of inactivity.
Please open a new issue if you are still encountering problems.
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build .NET

on:
push:
branches: [ develop, main ]
pull_request:
branches: [ develop, main ]

defaults:
run:
working-directory: ./libraries

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Install solution dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test & Code Coverage
run: dotnet test --collect:"XPlat Code Coverage" -r ./codecov --no-restore --verbosity normal
- name: Codecov
uses: codecov/codecov-action@v2.1.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
fail_ci_if_error: true
name: codecov-lambda-powertools-dotnet
verbose: true
directory: ./libraries/codecov
48 changes: 48 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Docs

on:
push:
branches:
- develop
- main

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2.2.2
with:
python-version: "3.8"
- name: Capture branch and tag
id: branch_name
run: |
echo "SOURCE_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
echo "SOURCE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Build docs website
run: make build-docs-website
- name: Deploy all docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
apidocs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Configure and build api docs generator
run: |
brew install -f docfx --skip-cask-deps --ignore-dependencies
docfx apidocs/docfx.json
- name: Release API docs to latest
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./apidocs/_site
keep_files: true
destination_dir: api
Loading