Skip to content

Commit 465455e

Browse files
authored
Merge branch 'aws-otel:main' into main
2 parents 8e6dfad + 91fad18 commit 465455e

23 files changed

+545
-1292
lines changed

package-lock.json

Lines changed: 267 additions & 870 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,28 +19,28 @@
1919
"@mdx-js/mdx": "^1.6.18",
2020
"@mdx-js/react": "^1.6.18",
2121
"@reach/router": "^1.3.4",
22-
"@rocketseat/gatsby-theme-docs": "^2.2.3",
22+
"@rocketseat/gatsby-theme-docs": "^2.4.0",
2323
"assets": "^3.0.1",
2424
"aws-rum-web": "1.8.3",
2525
"camelcase-keys": "^6.1.0",
26-
"classnames": "^2.2.6",
26+
"classnames": "^2.3.2",
2727
"core-js": "^3.23.3",
2828
"gatsby": "^3.0.0",
29-
"gatsby-plugin-canonical-urls": "^3.0.0",
29+
"gatsby-plugin-canonical-urls": "^3.15.0",
3030
"gatsby-plugin-manifest": "^3.0.0",
3131
"gatsby-plugin-material-ui": "1.2.5",
3232
"gatsby-plugin-mdx": "^2.14.1",
3333
"gatsby-plugin-offline": "^4.0.0",
3434
"gatsby-plugin-react-helmet": "^4.0.8",
35-
"gatsby-plugin-remove-trailing-slashes": "^3.0.0",
35+
"gatsby-plugin-remove-trailing-slashes": "^3.15.0",
3636
"gatsby-plugin-resolve-src": "^2.0.0",
3737
"gatsby-plugin-sass": "4.15.0",
3838
"gatsby-plugin-sitemap": "^4.11.0",
3939
"gatsby-source-filesystem": "^3.0.0",
4040
"gatsby-transformer-remark": "^4.12.0",
4141
"gatsby-transformer-yaml": "^3.0.0",
4242
"github-base": "^1.0.0",
43-
"history": "^4.7.2",
43+
"history": "^5.3.0",
4444
"install": "^0.13.0",
4545
"node-fetch": "^3.2.6",
4646
"nouislider": "^13.1.1",
@@ -56,13 +56,16 @@
5656
"react-id-generator": "^3.0.1",
5757
"react-router-dom": "^6.3.0",
5858
"react-slick": "^0.29.0",
59-
"react-swipeable-views": "^0.13.1",
59+
"react-swipeable-views": "^0.14.0",
6060
"sass": "^1.5.4",
6161
"typeface-roboto": "1.1.13",
6262
"typeface-roboto-slab": "1.1.13"
6363
},
6464
"overrides": {
65-
"multer": "1.4.4-lts.1"
65+
"multer": "1.4.4-lts.1",
66+
"gatsby-remark-embedder": "5.0.0",
67+
"got": "^11.8.5",
68+
"sharp": "^0.30.5"
6669
},
6770
"devDependencies": {
6871
"prettier": "^1.16.4"

src/config/sideBarData.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ export const sideBarData = [
6262
{label: "Ruby", link: "/docs/getting-started/ruby-sdk"},
6363
{label: ".NET", link: "/docs/getting-started/dotnet-sdk"},
6464
{label: "PHP", link: "/docs/getting-started/php-sdk"},
65-
{label: "k8s Operator", link: "/docs/getting-started/operator"},
66-
{label: "ADOT with EKS add-ons", link: "/docs/getting-started/adot-eks-add-on"},
65+
{label: "EKS add-on", link: "/docs/getting-started/adot-eks-add-on"},
6766
{label: "Lambda", link: "/docs/getting-started/lambda"},
6867
{label: "Amazon Managed Service for Prometheus (AMP)", link: "/docs/getting-started/prometheus-remote-write-exporter"},
6968
{label: "Prometheus Configurations", link: "/docs/getting-started/advanced-prometheus-remote-write-configurations"},

src/content/BlogPosts/blogPosts.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ description:
66
path: /blog
77

88
blogs:
9+
- title: "AWS Distro for OpenTelemetry v0.26.0 is now available"
10+
author: "Bryan Aguilar"
11+
date: "02-Feb-2023"
12+
body:
13+
"AWS Distro for OpenTelemetry v0.25.0 is now available. You can download the latest AWS Distro for OpenTelemetry Collector image
14+
from the Amazon Elastic Container Registry (Amazon ECR) Public Gallery."
15+
link: "/docs/ReleaseBlogs/aws-distro-for-opentelemetry-collector-v0.26.0"
16+
917
- title: "AWS Distro for OpenTelemetry Lambda Layers are now available with ADOT Collector v0.25.0"
1018
author: "Bryan Aguilar"
1119
date: "11-Jan-2023"
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: 'AWS Distro for OpenTelemetry v0.26.0'
3+
description:
4+
This blog post is the release announcement for ADOT v0.26.0
5+
---
6+
7+
import SectionSeparator from "components/MdxSectionSeparator/sectionSeparator.jsx"
8+
9+
<SectionSeparator />
10+
11+
[AWS Distro for OpenTelemetry (ADOT)](https://aws-otel.github.io/) v0.26.0 is now available.
12+
You can download the latest [ADOT Collector image](https://gallery.ecr.aws/aws-observability/aws-otel-collector) from the
13+
[Amazon Elastic Container Registry (Amazon ECR)](https://aws.amazon.com/ecr/) Public Gallery.
14+
15+
<SectionSeparator />
16+
17+
**Release Highlights**
18+
19+
* Changes have been made to the ADOT Collector Windows Installer. If you are using Windows, we reccomend performing a full uninstall of the
20+
ADOT Collector before installing v0.26.0. For details on the change please see [PR#1808](https://github.com/aws-observability/aws-otel-collector/pull/1809).
21+
* OpenTelemetry Collector [v0.69.0](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.69.0)
22+
* OpenTelemetry Collector [v0.70.0](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.70.0)
23+
24+
25+
Detailed release notes are on [GitHub](https://github.com/aws-observability/aws-otel-collector/releases).
26+
All code changes are upstream in the respective OpenTelemetry project components.
27+
28+
**Download**
29+
30+
Detailed technical documentation is available on the [ADOT developer site](https://aws-otel.github.io/),
31+
and you can [download the distribution](https://aws-otel.github.io/download) from
32+
[GitHub](https://github.com/aws-observability/aws-otel-collector/releases/tag/v0.26.0).
33+
You can also download the latest [ADOT Collector image](https://gallery.ecr.aws/aws-observability/aws-otel-collector)
34+
from the [Amazon Elastic Container Registry (Amazon ECR)](https://aws.amazon.com/ecr/) Public Gallery.
35+
36+
To learn more about how to use AWS Distro for OpenTelemetry (ADOT) to collect data for your observability solution,
37+
check out the hands-on [AWS Observability workshop](https://observability.workshop.aws/en/adot.html).
38+
Please file an [issue](https://github.com/aws-observability/aws-otel-community/issues) if you have any
39+
questions about the distribution, features, or its components.
40+
41+
We also welcome you to participate in the [OpenTelemetry project](https://github.com/open-telemetry).
42+
The project was [approved for incubation](https://www.cncf.io/blog/2021/08/26/opentelemetry-becomes-a-cncf-incubating-project/) status
43+
in August 2021 by the Cloud Native Computing Foundation Technical Oversight Committee (CNCF TOC). Learn more about
44+
[AWS Distro for OpenTelemetry](https://aws.amazon.com/blogs/opensource/category/management-tools/aws-distro-for-opentelemetry/) on the
45+
[AWS Open Source Blog](https://aws.amazon.com/blogs/opensource/category/management-tools/aws-distro-for-opentelemetry/), where we announced
46+
the distribution’s [general availability for tracing](https://aws.amazon.com/blogs/opensource/aws-distro-for-opentelemetry-is-now-ga-for-tracing/) in September 2021
47+
and the distribution's [general availability for metrics](https://aws.amazon.com/blogs/opensource/aws-distro-for-opentelemetry-is-now-generally-available-for-metrics/) in May 2022.

src/content/Downloads/downloads.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
- version: 'AWS Distro for OpenTelemetry Collector Version 0.26.0'
2+
releaseDate: 'February-02-2023'
3+
license: 'Apache-2.0'
4+
releaseNotesLink: 'https://github.com/aws-observability/aws-otel-collector/releases/tag/v0.26.0'
5+
documentationLink: 'https://github.com/aws-observability/aws-otel-collector/blob/v0.26.0/README.md'
6+
downloadLink: 'https://gallery.ecr.aws/aws-observability/aws-otel-collector'
7+
18
- version: 'AWS Distro for OpenTelemetry Collector Version 0.25.0'
29
releaseDate: 'January-10-2023'
310
license: 'Apache-2.0'
@@ -93,7 +100,7 @@
93100
releaseDate: 'Mar-04-2022'
94101
license: 'Apache-2.0'
95102
releaseNotesLink: 'https://github.com/open-telemetry/opentelemetry-operator/releases/tag/v0.45.0'
96-
documentationLink: 'https://aws-otel.github.io/docs/getting-started/operator'
103+
documentationLink: 'https://aws-otel.github.io/docs/getting-started/adot-eks-add-on'
97104
downloadLink: 'https://gallery.ecr.aws/aws-observability/adot-operator'
98105

99106
- version: 'AWS Distro for OpenTelemetry Collector Version 0.17.1'
@@ -149,7 +156,7 @@
149156
releaseDate: 'Nov-23-2021'
150157
license: 'Apache-2.0'
151158
releaseNotesLink: 'https://github.com/open-telemetry/opentelemetry-operator/releases/tag/v0.38.0'
152-
documentationLink: 'https://aws-otel.github.io/docs/getting-started/operator'
159+
documentationLink: 'https://aws-otel.github.io/docs/getting-started/adot-eks-add-on'
153160
downloadLink: 'https://gallery.ecr.aws/aws-observability/adot-operator'
154161

155162
- version: 'AWS Distro for OpenTelemetry Collector Version 0.14.1'
@@ -170,7 +177,7 @@
170177
releaseDate: 'Oct-29-2021'
171178
license: 'Apache-2.0'
172179
releaseNotesLink: 'https://github.com/open-telemetry/opentelemetry-operator/releases/tag/v0.37.1'
173-
documentationLink: 'https://aws-otel.github.io/docs/getting-started/operator'
180+
documentationLink: 'https://aws-otel.github.io/docs/getting-started/adot-eks-add-on'
174181
downloadLink: 'https://gallery.ecr.aws/aws-observability/adot-operator'
175182

176183
- version: 'AWS Distro for OpenTelemetry Collector Version 0.13.0'
@@ -191,7 +198,7 @@
191198
releaseDate: 'Sep-22-2021'
192199
license: 'Apache-2.0'
193200
releaseNotesLink: 'https://github.com/open-telemetry/opentelemetry-operator/releases/tag/v0.34.0'
194-
documentationLink: 'https://aws-otel.github.io/docs/getting-started/operator'
201+
documentationLink: 'https://aws-otel.github.io/docs/getting-started/adot-eks-add-on'
195202
downloadLink: 'https://gallery.ecr.aws/aws-observability/adot-operator'
196203

197204
- version: 'Nuget:OpenTelemetry.Contrib.Extensions.AWSXRay v1.1.0'

src/docs/components/ecs-metrics-receiver.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 'Getting started using AWS ECS container metrics receiver in AWS OpenTelemetry Collector'
2+
title: 'Getting started using AWS ECS container metrics receiver in AWS Distro for OpenTelemetry Collector'
33
description:
44
The Amazon ECS container agent provides a method to retrieve various task metadata and Docker stats, which is
55
referred to as the task metadata endpoint. AWS Container Observability team wrote a receiver in the OpenTelemetry

src/docs/getting-started/adot-eks-add-on/installation.mdx

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,42 @@ Follow these steps to use the EKS console to leverage EKS add-ons for deploying
4747

4848
## Deploy the ADOT Collector
4949

50-
Once the ADOT EKS Add-On is running, you can deploy the ADOT Collector into your EKS cluster. The ADOT Collector can be deployed in one of four modes: Deployment, Daemonset, StatefulSet, and Sidecar. See [this page](https://aws-otel.github.io/docs/getting-started/operator#step-2-install-adot-collector-as-kubernetes-custom-resource-to-your-eks-cluster) for more information on these deployment modes.
50+
Once the ADOT EKS Add-On is running, you can deploy the ADOT Collector into your EKS cluster. The ADOT Collector can be deployed in one of four modes: Deployment, Daemonset, StatefulSet, and Sidecar. Each mode is briefly described below.
51+
52+
### Deployment Mode
53+
54+
If you want to get more control of the Collector and create a standalone application, Deployment would be your choice. With Deployment,
55+
you can relatively easily scale up the Collector to monitor more targets, roll back to an early version if anything unexpected happens,
56+
pause the Collector, etc. In general, you can manage your Collector instance just as an application.
57+
58+
### DaemonSet Mode
59+
60+
DaemonSet should satisfy your needs if you want the Collector run as an agent in your Kubernetes nodes. In this case, every Kubernetes
61+
node will have its own Collector copy which would monitor the pods in it.
62+
63+
### StatefulSet Mode
64+
65+
There are three main advantages to deploying the Collector as a StatefulSet:
66+
67+
- Predictable names of the Collector instance will be expected
68+
If you use above two approaches to deploy the Collector, the pod name of your Collector instance will be unique (its name plus random sequence).
69+
However, each Pod in a StatefulSet derives its hostname from the name of the StatefulSet and the ordinal of the Pod (my-col-0, my-col-1, my-col-2, etc.).
70+
- Rescheduling will be arranged when a Collector replica fails
71+
If a Collector pod fails in the StatefulSet, Kubernetes will attempt to reschedule a new pod with the same name to the same node.
72+
Kubernetes will also attempt to attach the same sticky identity (e.g., volumes) to the new pod.
73+
- The target allocator could be configured
74+
The target allocator will use a HTTP server to expose the scrape targets to a specific endpoint URL, which will be used by the
75+
Prometheus receiver to scrape metrics data. Additionally, the target allocator will use that discovery information to evenly delegate scraping
76+
jobs to the collector instances inside a StatefulSet based on a replica's current workload.
77+
78+
### Sidecar Mode
79+
80+
The biggest advantage of the sidecar mode is that it allows people to offload their telemetry data as fast and reliable as possible
81+
from their applications. This Collector instance will work on the container level and no new pod will be created, which is perfect to
82+
keep your EKS cluster clean and easily to be managed. Moreover, you can also use the sidecar mode when you want to use a different collect/export
83+
strategy, which just suits this application.
84+
85+
Once a Sidecar instance exists in a given namespace, make sure that your deployment is in that same namespace as well. That deployment can get a sidecar by either adding the annotation `sidecar.opentelemetry.io/inject: "true"` to the pod spec of your application, or to the namespace.
5186

5287
### Use your IAM role to launch the ADOT Collector
5388
You can associate your IAM role to your EKS service account using [IRSA](https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/setting-up-enable-IAM.html). Your service account can then provide AWS permissions to the containers you run in any pod that use that service account. You must use this command for each cluster where you're installing ADOT to grant your AWS service account permissions.

src/docs/getting-started/adot-eks-add-on/requirements.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ path: '/docs/getting-started/adot-eks-add-on/requirements'
1212

1313
* [eksctl](https://docs.aws.amazon.com/eks/latest/userguide/eksctl.html) is installed
1414

15-
* Your cluster should be on Kubernetes version 1.19 or higher. You can verify the version you’re running with the following command:
15+
* Your cluster should be on Kubernetes version 1.21 or higher. You can verify the version you’re running with the following command:
1616
```console
17-
kubectl version | grep "Server Version"`
17+
kubectl version | grep "Server Version"
1818
```
1919

2020
* Make sure that you can use kubectl with your EKS cluster by updating your `kubeconfig` if necessary:

src/docs/getting-started/container-insights.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The following platforms are supported:
3636

3737
- <Link to="/docs/getting-started/container-insights/eks-infra">Amazon EKS and Kubernetes platforms on Amazon EC2</Link>
3838
- <Link to="/docs/getting-started/container-insights/eks-fargate">Amazon EKS and Kubernetes platforms on Amazon Fargate</Link>
39-
- [Amazon ECS with cluster- and service-level metrics](https://aws-otel.github.io/docs/components/ecs-metrics-receiver)
39+
- [Amazon ECS with cluster and service-level metrics](https://aws-otel.github.io/docs/components/ecs-metrics-receiver)
4040
- Amazon ECS on Amazon EC2 with instance-level metrics (upcoming)
4141

4242
## Collecting Prometheus metrics

0 commit comments

Comments
 (0)