Skip to content

Commit 27efc60

Browse files
svrnmtheletterfopentelemetrybotjpkrohlingchalin
authored
Add registry tip to ocb (#5028)
Signed-off-by: svrnm <[email protected]> Co-authored-by: Fabrizio Ferri-Benedetti <[email protected]> Co-authored-by: opentelemetrybot <[email protected]> Co-authored-by: Juraci Paixão Kröhling <[email protected]> Co-authored-by: Patrice Chalin <[email protected]>
1 parent c3aa6c9 commit 27efc60

File tree

3 files changed

+18
-5
lines changed

3 files changed

+18
-5
lines changed

content/en/docs/collector/custom-collector.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,6 @@ the development and testing of components.
120120
Go ahead and create a manifest file named `builder-config.yaml` with the
121121
following content:
122122

123-
> builder-config.yaml
124-
125123
```yaml
126124
dist:
127125
name: otelcol-dev
@@ -144,8 +142,6 @@ collector distribution:
144142
The `builder-config.yaml` manifest file will look like this after adding the
145143
components:
146144

147-
> builder-config.yaml
148-
149145
<!-- prettier-ignore -->
150146
```yaml
151147
dist:
@@ -170,6 +166,15 @@ receivers:
170166
go.opentelemetry.io/collector/receiver/otlpreceiver {{% version-from-registry collector-receiver-otlp %}}
171167
```
172168
169+
{{% alert color="primary" title="Tip" %}}
170+
171+
For a list of components that you can add to your custom collector, see the
172+
[OpenTelemetry Registry](/ecosystem/registry/?language=collector). Note that
173+
registry entries provide the full name and version you need to add to your
174+
`builder-config.yaml`.
175+
176+
{{% /alert %}}
177+
173178
## Step 3 - Generating the Code and Building your Collector's distribution
174179

175180
All you need now is to let the `ocb` do it's job, so go to your terminal and

data/registry/collector-exporter-apiclarity.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# cSpell:ignore apiclarity
1+
# cSpell:ignore apiclarity apiclarityexporter openclarity
22
title: APIClarity HTTP Exporter
33
registryType: exporter
44
language: collector
@@ -15,3 +15,7 @@ authors:
1515
urls:
1616
repo: https://github.com/openclarity/apiclarity/tree/master/plugins/otel-collector
1717
createdAt: 2022-11-28
18+
package:
19+
name: github.com/openclarity/apiclarity/plugins/otel-collector/apiclarityexporter
20+
registry: go-collector
21+
version: v0.0.0

static/refcache.json

+4
Original file line numberDiff line numberDiff line change
@@ -10799,6 +10799,10 @@
1079910799
"StatusCode": 200,
1080010800
"LastSeen": "2024-08-09T11:01:13.220618-04:00"
1080110801
},
10802+
"https://pkg.go.dev/github.com/openclarity/apiclarity/plugins/otel-collector/apiclarityexporter": {
10803+
"StatusCode": 200,
10804+
"LastSeen": "2024-08-12T17:56:07.964057+02:00"
10805+
},
1080210806
"https://pkg.go.dev/go.opentelemetry.io/collector/cmd/builder": {
1080310807
"StatusCode": 200,
1080410808
"LastSeen": "2024-03-01T16:49:30.684687+01:00"

0 commit comments

Comments
 (0)