Skip to content

Commit bcb0b1f

Browse files
authored
Merge pull request #147 from sguruvar/docusaurus
Docusaurus and Architecture pattern changes
2 parents 97e832f + 58c9a90 commit bcb0b1f

File tree

908 files changed

+50542
-8
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

908 files changed

+50542
-8
lines changed

.github/workflows/markdown-link-check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
- uses: actions/checkout@v3
2121
- uses: actions/setup-node@v3
2222
with:
23-
node-version: '16.x'
23+
node-version: 20
2424
- name: install markdown-link-check
25-
run: npm install -g markdown-link-check@3.10.2
25+
run: npm install -g markdown-link-check@3.12.2
2626
- name: markdown-link-check version
2727
run: npm list -g markdown-link-check
2828
- name: Run markdown-link-check on MD files

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repos:
77
- id: detect-aws-credentials
88
args: ['--allow-missing-credentials']
99
- repo: https://github.com/tcort/markdown-link-check
10-
rev: v3.11.2
10+
rev: v3.12.2
1111
hooks:
1212
- id: markdown-link-check
1313
args: ['-q', '-c .github/workflows/linkcheck.json']

docs/en/guides/choosing-a-tracing-agent.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,18 @@ Any transaction tracing solution requires an agent and an integration into the u
1717

1818
The SDKs included with X-Ray are part of a tightly integrated instrumentation solution offered by AWS. ADOT is part of a broader industry solution in which X-Ray is only one of many tracing solutions. You can implement end-to-end tracing in X-Ray using either approach, but it’s important to understand the differences in order to determine the most useful approach for you.
1919

20-
!!! success
20+
:::info
2121
We recommend instrumenting your application with the AWS Distro for OpenTelemetry if you need the following:
2222

2323
* The ability to send traces to multiple different tracing backends without having to re-instrument your code. For example, of you wish to shift from using the X-Ray console to [Zipkin](https://zipkin.io), then only configuration of the collector would change, leaving your applicaiton code untouched.
2424

2525
* Support for a large number of library instrumentations for each language, maintained by the OpenTelemetry community.
26+
:::
2627

27-
!!! success
28+
:::info
2829
We recommend choosing an X-Ray SDK for instrumenting your application if you need the following:
2930

3031
* A tightly integrated single-vendor solution.
3132

3233
* Integration with X-Ray centralized sampling rules, including the ability to configure sampling rules from the X-Ray console and automatically use them across multiple hosts, when using Node.js, Python, Ruby, or .NET
34+
:::

docs/en/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This site is organized into four categories:
2727
1. [Best practices for specific AWS tools (though these are largely fungible to other vendor products as well)](https://aws-observability.github.io/observability-best-practices/tools/cloudwatch_agent/)
2828
1. [Curated recipes for observability with AWS](https://aws-observability.github.io/observability-best-practices/recipes/)
2929

30-
!!! success
30+
:::info
3131
This site is based on real world use cases that AWS and our customers have solved for.
3232

3333
Observability is at the heart of modern application development, and a critical consideration when operating distributed systems, such as microservices, or complex applications with many external integrations. We consider it to be a leading indicator of a healthy workload, and we are pleased to share our experiences with you here!

docs/en/recipes/infra.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
[alb-docs]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-monitoring.html
2929
[nlb-docs]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-monitoring.html
3030
[vpcfl]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html
31-
[vpcf-ws]: https://amazon-es-vpc-flowlogs.workshop.aws/en/
3231
[eks-cp]: https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html
3332
[lambda-docs]: https://docs.aws.amazon.com/lambda/latest/operatorguide/monitoring-observability.html
3433
[rds]: rds.md

docs/ja/recipes/infra.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
[alb-docs]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-monitoring.html
2828
[nlb-docs]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-monitoring.html
2929
[vpcfl]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html
30-
[vpcf-ws]: https://amazon-es-vpc-flowlogs.workshop.aws/en/
3130
[eks-cp]: https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html
3231
[lambda-docs]: https://docs.aws.amazon.com/lambda/latest/operatorguide/monitoring-observability.html
3332
[rds]: rds.md
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Dependencies
2+
/node_modules
3+
4+
# Production
5+
/build
6+
7+
# Generated files
8+
.docusaurus
9+
.cache-loader
10+
11+
# Misc
12+
.DS_Store
13+
.env.local
14+
.env.development.local
15+
.env.test.local
16+
.env.production.local
17+
18+
npm-debug.log*
19+
yarn-debug.log*
20+
yarn-error.log*
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Observability Best Practices
2+
3+
## Welcome
4+
5+
This is the source for the [AWS Observability Best Practices site](https://aws-observability.github.io/observability-best-practices/). Everyone is welcome to contribute here, not just AWS employees!
6+
7+
## How to run/develop this site
8+
9+
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
10+
You need to install [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) as a prerequisite.
11+
12+
### Installation
13+
14+
```
15+
$ (yarn | npm ) install
16+
```
17+
18+
### Local Development
19+
20+
```
21+
$ yarn start [or] npm run start
22+
```
23+
24+
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
25+
26+
### Build
27+
28+
```
29+
$ yarn build [or] npm run build
30+
```
31+
32+
This command generates static content into the `build` directory and can be served using any static contents hosting service.
33+
34+
### Deployment
35+
36+
Using SSH with yarn:
37+
```
38+
$ USE_SSH=true yarn deploy
39+
```
40+
41+
Using SSH with npm:
42+
```
43+
$ USE_SSH=true npm run serve
44+
```
45+
46+
Not using SSH:
47+
48+
```
49+
$ GIT_USER=<Your GitHub username> yarn deploy
50+
```
51+
52+
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
53+
54+
55+
56+
## Security
57+
58+
See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.
59+
60+
## License
61+
62+
This library is licensed under the MIT-0 License. See the LICENSE file.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
3+
};
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
slug: first-blog-post
3+
title: First Blog Post
4+
authors:
5+
name: Gao Wei
6+
title: Docusaurus Core Team
7+
url: https://github.com/wgao19
8+
image_url: https://github.com/wgao19.png
9+
tags: [hola, docusaurus]
10+
---
11+
12+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

0 commit comments

Comments
 (0)