You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/collector/installation.md
+60-45Lines changed: 60 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Install the Collector
3
3
weight: 2
4
-
cSpell:ignore: darwin dpkg journalctl kubectl otelcorecol pprof tlsv zpages
4
+
cSpell:ignore: contrib darwin dpkg journalctl kubectl pprof tlsv zpages
5
5
---
6
6
7
7
You can deploy the OpenTelemetry Collector on a wide variety of operating
@@ -12,6 +12,20 @@ If you aren't familiar with the deployment models, components, and repositories
12
12
applicable to the OpenTelemetry Collector, first review the [Data Collection][]
13
13
and [Deployment Methods][] page.
14
14
15
+
> Note: Collector distributions
16
+
>
17
+
> OpenTelemetry provides two official Collector distributions:
18
+
>
19
+
> - Core ("otelcol"): Minimal set of core components maintained in the core
20
+
> repository.
21
+
> - Contrib ("otelcol-contrib"): Superset with many additional receivers,
22
+
> processors, exporters, and extensions.
23
+
>
24
+
> This page uses the Contrib distribution (`opentelemetry-collector-contrib`) in
25
+
> examples. If you prefer the Core distribution, replace the image/binary and
26
+
> config paths accordingly (for example, `/etc/otelcol-contrib/` →
27
+
> `/etc/otelcol/`).
28
+
15
29
## Docker
16
30
17
31
The following commands pull a Docker image and run the Collector in a container.
@@ -100,7 +114,7 @@ and as full demo in [Getting Started with OpenTelemetry on HashiCorp Nomad][].
100
114
101
115
Every Collector release includes APK, DEB and RPM packaging for Linux
102
116
amd64/arm64/i386 systems. You can find the default configuration in
103
-
`/etc/otelcol/config.yaml` after installation.
117
+
`/etc/otelcol-contrib/config.yaml` after installation.
104
118
105
119
> Note: `systemd` is required for automatic service configuration.
106
120
@@ -113,26 +127,26 @@ To get started on Debian systems run the following commands:
113
127
```sh
114
128
sudo apt-get update
115
129
sudo apt-get -y install wget
116
-
wget https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol_{{% param vers %}}_linux_amd64.deb
117
-
sudo dpkg -i otelcol_{{% param vers %}}_linux_amd64.deb
130
+
wget https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol-contrib_{{% param vers %}}_linux_amd64.deb
131
+
sudo dpkg -i otelcol-contrib_{{% param vers %}}_linux_amd64.deb
118
132
```
119
133
120
134
{{% /tab %}} {{% tab ARM64 %}}
121
135
122
136
```sh
123
137
sudo apt-get update
124
138
sudo apt-get -y install wget
125
-
wget https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol_{{% param vers %}}_linux_arm64.deb
126
-
sudo dpkg -i otelcol_{{% param vers %}}_linux_arm64.deb
139
+
wget https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol-contrib_{{% param vers %}}_linux_arm64.deb
140
+
sudo dpkg -i otelcol-contrib_{{% param vers %}}_linux_arm64.deb
127
141
```
128
142
129
143
{{% /tab %}} {{% tab i386 %}}
130
144
131
145
```sh
132
146
sudo apt-get update
133
147
sudo apt-get -y install wget
134
-
wget https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol_{{% param vers %}}_linux_386.deb
135
-
sudo dpkg -i otelcol_{{% param vers %}}_linux_386.deb
148
+
wget https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol-contrib_{{% param vers %}}_linux_386.deb
149
+
sudo dpkg -i otelcol-contrib_{{% param vers %}}_linux_386.deb
136
150
```
137
151
138
152
{{% /tab %}} {{< /tabpane >}}
@@ -146,26 +160,26 @@ To get started on Red Hat systems run the following commands:
146
160
```sh
147
161
sudo yum update
148
162
sudo yum -y install wget systemctl
149
-
wget https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol_{{% param vers %}}_linux_amd64.rpm
150
-
sudo rpm -ivh otelcol_{{% param vers %}}_linux_amd64.rpm
163
+
wget https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol-contrib_{{% param vers %}}_linux_amd64.rpm
164
+
sudo rpm -ivh otelcol-contrib_{{% param vers %}}_linux_amd64.rpm
151
165
```
152
166
153
167
{{% /tab %}} {{% tab ARM64 %}}
154
168
155
169
```sh
156
170
sudo yum update
157
171
sudo yum -y install wget systemctl
158
-
wget https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol_{{% param vers %}}_linux_arm64.rpm
159
-
sudo rpm -ivh otelcol_{{% param vers %}}_linux_arm64.rpm
172
+
wget https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol-contrib_{{% param vers %}}_linux_arm64.rpm
173
+
sudo rpm -ivh otelcol-contrib_{{% param vers %}}_linux_arm64.rpm
160
174
```
161
175
162
176
{{% /tab %}} {{% tab i386 %}}
163
177
164
178
```sh
165
179
sudo yum update
166
180
sudo yum -y install wget systemctl
167
-
wget https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol_{{% param vers %}}_linux_386.rpm
168
-
sudo rpm -ivh otelcol_{{% param vers %}}_linux_386.rpm
181
+
wget https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol-contrib_{{% param vers %}}_linux_386.rpm
182
+
sudo rpm -ivh otelcol-contrib_{{% param vers %}}_linux_386.rpm
169
183
```
170
184
171
185
{{% /tab %}} {{< /tabpane >}}
@@ -178,55 +192,56 @@ file containing the binary and install it on your machine manually:
178
192
{{< tabpane text=true >}} {{% tab AMD64 %}}
179
193
180
194
```sh
181
-
curl --proto '=https' --tlsv1.2 -fOL https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol_{{% param vers %}}_linux_amd64.tar.gz
182
-
tar -xvf otelcol_{{% param vers %}}_linux_amd64.tar.gz
195
+
curl --proto '=https' --tlsv1.2 -fOL https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol-contrib_{{% param vers %}}_linux_amd64.tar.gz
196
+
tar -xvf otelcol-contrib_{{% param vers %}}_linux_amd64.tar.gz
183
197
```
184
198
185
199
{{% /tab %}} {{% tab ARM64 %}}
186
200
187
201
```sh
188
-
curl --proto '=https' --tlsv1.2 -fOL https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol_{{% param vers %}}_linux_arm64.tar.gz
189
-
tar -xvf otelcol_{{% param vers %}}_linux_arm64.tar.gz
202
+
curl --proto '=https' --tlsv1.2 -fOL https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol-contrib_{{% param vers %}}_linux_arm64.tar.gz
203
+
tar -xvf otelcol-contrib_{{% param vers %}}_linux_arm64.tar.gz
190
204
```
191
205
192
206
{{% /tab %}} {{% tab i386 %}}
193
207
194
208
```sh
195
-
curl --proto '=https' --tlsv1.2 -fOL https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol_{{% param vers %}}_linux_386.tar.gz
196
-
tar -xvf otelcol_{{% param vers %}}_linux_386.tar.gz
209
+
curl --proto '=https' --tlsv1.2 -fOL https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol-contrib_{{% param vers %}}_linux_386.tar.gz
210
+
tar -xvf otelcol-contrib_{{% param vers %}}_linux_386.tar.gz
197
211
```
198
212
199
213
{{% /tab %}} {{% tab ppc64le %}}
200
214
201
215
```sh
202
-
curl --proto '=https' --tlsv1.2 -fOL https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol_{{% param vers %}}_linux_ppc64le.tar.gz
203
-
tar -xvf otelcol_{{% param vers %}}_linux_ppc64le.tar.gz
216
+
curl --proto '=https' --tlsv1.2 -fOL https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol-contrib_{{% param vers %}}_linux_ppc64le.tar.gz
217
+
tar -xvf otelcol-contrib_{{% param vers %}}_linux_ppc64le.tar.gz
204
218
```
205
219
206
220
{{% /tab %}} {{< /tabpane >}}
207
221
208
222
### Automatic service configuration
209
223
210
-
By default, the `otelcol` systemd service starts with the
211
-
`--config=/etc/otelcol/config.yaml` option after installation.
224
+
By default, the `otelcol-contrib` systemd service starts with the
225
+
`--config=/etc/otelcol-contrib/config.yaml` option after installation.
212
226
213
227
To use a different settings, set the `OTELCOL_OPTIONS` variable in the
214
-
`/etc/otelcol/otelcol.conf` systemd environment file to the appropriate
215
-
command-line options. You can run `/usr/bin/otelcol --help` to see all available
216
-
options. You can pass additional environment variables to the `otelcol` service
217
-
by adding them to this file.
228
+
`/etc/otelcol-contrib/otelcol-contrib.conf` systemd environment file to the
229
+
appropriate command-line options. You can run `/usr/bin/otelcol-contrib --help`
230
+
to see all available options. You can pass additional environment variables to
231
+
the `otelcol-contrib` service by adding them to this file.
218
232
219
-
If you modify the Collector configuration file or `/etc/otelcol/otelcol.conf`,
220
-
restart the `otelcol` service to apply the changes by running:
233
+
If you modify the Collector configuration file or
234
+
`/etc/otelcol-contrib/otelcol-contrib.conf`, restart the `otelcol-contrib`
235
+
service to apply the changes by running:
221
236
222
237
```sh
223
-
sudo systemctl restart otelcol
238
+
sudo systemctl restart otelcol-contrib
224
239
```
225
240
226
-
To check the output from the `otelcol` service, run:
241
+
To check the output from the `otelcol-contrib` service, run:
227
242
228
243
```sh
229
-
sudo journalctl -u otelcol
244
+
sudo journalctl -u otelcol-contrib
230
245
```
231
246
232
247
## macOS
@@ -238,21 +253,21 @@ commands:
238
253
{{< tabpane text=true >}} {{% tab Intel %}}
239
254
240
255
```sh
241
-
curl --proto '=https' --tlsv1.2 -fOL https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol_{{% param vers %}}_darwin_amd64.tar.gz
242
-
tar -xvf otelcol_{{% param vers %}}_darwin_amd64.tar.gz
256
+
curl --proto '=https' --tlsv1.2 -fOL https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol-contrib_{{% param vers %}}_darwin_amd64.tar.gz
257
+
tar -xvf otelcol-contrib_{{% param vers %}}_darwin_amd64.tar.gz
243
258
```
244
259
245
260
{{% /tab %}} {{% tab ARM %}}
246
261
247
262
```sh
248
-
curl --proto '=https' --tlsv1.2 -fOL https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol_{{% param vers %}}_darwin_arm64.tar.gz
249
-
tar -xvf otelcol_{{% param vers %}}_darwin_arm64.tar.gz
263
+
curl --proto '=https' --tlsv1.2 -fOL https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol-contrib_{{% param vers %}}_darwin_arm64.tar.gz
264
+
tar -xvf otelcol-contrib_{{% param vers %}}_darwin_arm64.tar.gz
250
265
```
251
266
252
267
{{% /tab %}} {{< /tabpane >}}
253
268
254
-
Every Collector release includes an `otelcol` executable that you can run after
255
-
unpacking.
269
+
Every Collector release includes an `otelcol-contrib` executable that you can
270
+
run after unpacking.
256
271
257
272
## Windows
258
273
@@ -264,14 +279,14 @@ Application Event Log source with the distribution name.
264
279
### MSI installation
265
280
266
281
```powershell
267
-
msiexec /i "https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol_{{% param vers %}}_windows_x64.msi"
282
+
msiexec /i "https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol-contrib_{{% param vers %}}_windows_x64.msi"
268
283
```
269
284
270
285
### Manual installation
271
286
272
287
```powershell
273
-
Invoke-WebRequest -Uri "https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol_{{% param vers %}}_windows_amd64.tar.gz" -OutFile "otelcol_{{% param vers %}}_windows_amd64.tar.gz"
274
-
tar -xvzf otelcol_{{% param vers %}}_windows_amd64.tar.gz
288
+
Invoke-WebRequest -Uri "https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v{{% param vers %}}/otelcol-contrib_{{% param vers %}}_windows_amd64.tar.gz" -OutFile "otelcol-contrib_{{% param vers %}}_windows_amd64.tar.gz"
289
+
tar -xvzf otelcol-contrib_{{% param vers %}}_windows_amd64.tar.gz
275
290
```
276
291
277
292
Every release includes the Collector executable that you can run after
@@ -283,10 +298,10 @@ You can build the latest version of the Collector based on the local operating
Copy file name to clipboardExpand all lines: content/ja/docs/zero-code/java/spring-boot-starter/getting-started.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,12 +13,12 @@ Spring Bootアプリケーションを計装するために、[Javaエージェ
13
13
14
14
{{% /alert %}}
15
15
16
-
###互換性 {#compatibility}
16
+
## 互換性 {#compatibility}
17
17
18
18
OpenTelemetry Spring Bootスターターは、Spring Boot 2.6+および3.1+、そしてSpring Bootネイティブイメージアプリケーションで動作します。
19
19
[opentelemetry-java-examples/spring-native](https://github.com/open-telemetry/opentelemetry-java-examples/tree/main/spring-native)リポジトリには、OpenTelemetry Spring Bootスターターを使用して計装されたSpring Bootネイティブイメージアプリケーションの例が含まれています。
20
20
21
-
###依存関係の管理 {#dependency-management}
21
+
## 依存関係の管理 {#dependency-management}
22
22
23
23
Bill of Material([BOM](https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#bill-of-materials-bom-poms))は、依存関係(推移的なものを含む)のバージョンが整合していることを保証します。
0 commit comments