Skip to content

Commit 0601088

Browse files
authored
[receiver/elasticapmintakereceiver] fix wrong metadata type and README (#652)
1 parent 4b00db0 commit 0601088

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

receiver/elasticapmintakereceiver/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Elasticapm receiver
1+
# Elasticapmintake receiver
22

33
<!-- status autogenerated section -->
44
| Status | |
55
| ------------- |-----------|
66
| Stability | [alpha]: metrics, logs, traces |
77
| Distributions | [] |
88
| Issues | [![Open issues](https://img.shields.io/github/issues-search/elastic/opentelemetry-collector-components?query=is%3Aissue%20is%3Aopen%20label%3Areceiver%2Felasticapmintake%20&label=open&color=orange&logo=opentelemetry)](https://github.com/elastic/opentelemetry-collector-components/issues?q=is%3Aopen+is%3Aissue+label%3Areceiver%2Felasticapmintake) [![Closed issues](https://img.shields.io/github/issues-search/elastic/opentelemetry-collector-components?query=is%3Aissue%20is%3Aclosed%20label%3Areceiver%2Felasticapmintake%20&label=closed&color=blue&logo=opentelemetry)](https://github.com/elastic/opentelemetry-collector-components/issues?q=is%3Aclosed+is%3Aissue+label%3Areceiver%2Felasticapmintake) |
9-
| Code coverage | [![codecov](https://codecov.io/github/elastic/opentelemetry-collector-components/graph/main/badge.svg?component=receiver_elasticapm)](https://app.codecov.io/gh/elastic/opentelemetry-collector-components/tree/main/?components%5B0%5D=receiver_elasticapm&displayType=list) |
9+
| Code coverage | [![codecov](https://codecov.io/github/elastic/opentelemetry-collector-components/graph/main/badge.svg?component=receiver_elasticapmintake)](https://app.codecov.io/gh/elastic/opentelemetry-collector-components/tree/main/?components%5B0%5D=receiver_elasticapmintake&displayType=list) |
1010

1111
[alpha]: https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/component-stability.md#alpha
1212
<!-- end autogenerated section -->
@@ -15,18 +15,18 @@ Receives data via HTTP using [APM IntakeV2 format](https://www.elastic.co/docs/s
1515

1616
## Getting started
1717

18-
All that is required to enable the elasticapm receiver is to include it in the receiver definitions:
18+
All that is required to enable the elasticapmintake receiver is to include it in the receiver definitions:
1919

2020
```
2121
receivers:
22-
elasticapm:
22+
elasticapmintake:
2323
agent_config:
2424
enabled: false
2525
```
2626

2727
## Advanced configuration
2828

29-
The elasticapm receiver embeds the [confighttp.ServerConfig](https://github.com/open-telemetry/opentelemetry-collector/blob/main/config/confighttp/README.md), which means it supports standard HTTP server configuration, including TLS/mTLS and authentication.
29+
The elasticapmintake receiver embeds the [confighttp.ServerConfig](https://github.com/open-telemetry/opentelemetry-collector/blob/main/config/confighttp/README.md), which means it supports standard HTTP server configuration, including TLS/mTLS and authentication.
3030

3131
### TLS and mTLS settings
3232

@@ -36,7 +36,7 @@ Example configuration:
3636

3737
```yaml
3838
receivers:
39-
elasticapm:
39+
elasticapmintake:
4040
tls:
4141
cert_file: server.crt
4242
key_file: server.key
@@ -61,7 +61,7 @@ https://www.elastic.co/docs/solutions/observability/apm/apm-agent-tls-communicat
6161

6262
In addition to TLS, you can configure authentication to ensure that only authorized agents can send data to the receiver.
6363

64-
The elasticapm receiver supports any [configauth authenticator](https://github.com/open-telemetry/opentelemetry-collector/blob/main/config/configauth/README.md). We recommend using the [apikeyauth extension](https://github.com/elastic/opentelemetry-collector-components/tree/main/extension/apikeyauthextension) to validate Elastic APM API keys:
64+
The elasticapmintake receiver supports any [configauth authenticator](https://github.com/open-telemetry/opentelemetry-collector/blob/main/config/configauth/README.md). We recommend using the [apikeyauth extension](https://github.com/elastic/opentelemetry-collector-components/tree/main/extension/apikeyauthextension) to validate Elastic APM API keys:
6565

6666
```yaml
6767
extensions:
@@ -74,7 +74,7 @@ extensions:
7474
resources:
7575
- "-"
7676
receivers:
77-
elasticapm:
77+
elasticapmintake:
7878
auth:
7979
authenticator: apikeyauth
8080
tls:

receiver/elasticapmintakereceiver/generated_component_test.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

receiver/elasticapmintakereceiver/internal/metadata/generated_status.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

receiver/elasticapmintakereceiver/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
type: elasticapm
1+
type: elasticapmintake
22
scope_name: github.com/elastic/opentelemetry-collector-components/receiver/elasticapmintakereceiver
33
github_project: elastic/opentelemetry-collector-components
44

receiver/elasticapmintakereceiver/testdata/config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
elasticapm:
1+
elasticapmintake:
22

3-
elasticapm/elasticsearch_agentcfg:
3+
elasticapmintake/elasticsearch_agentcfg:
44
agent_config:
55
enabled: true
66
cache_duration: 10s
77
elasticsearch:
88
endpoint: "http://localhost:8200"
99

10-
elasticapm/invalid_elasticsearch_agentcfg:
10+
elasticapmintake/invalid_elasticsearch_agentcfg:
1111
agent_config:
1212
enabled: true
1313
elasticsearch:

0 commit comments

Comments
 (0)