Skip to content

Commit

Permalink
Registry updates Jan 2024
Browse files Browse the repository at this point in the history
Signed-off-by: svrnm <[email protected]>
  • Loading branch information
svrnm committed Jan 19, 2024
1 parent 9bcc38d commit 6ee3590
Show file tree
Hide file tree
Showing 25 changed files with 191 additions and 23 deletions.
18 changes: 18 additions & 0 deletions data/registry/collector-receiver-namedpipe.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
title: Named Pipe Receiver
registryType: receiver
language: collector
tags:
- namedpipe

Check warning on line 5 in data/registry/collector-receiver-namedpipe.yml

View workflow job for this annotation

GitHub Actions / SPELLING check

Unknown word (namedpipe)
- receiver
- collector
urls:
- repo: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/namedpipereceiver
license: Apache 2.0
description: This receiver supports opening a Unix Named Pipe (aka FIFO), and reading logs from it.
authors:
- OpenTelemetry Authors
createdAt: 2024-01-19
package:
registry: go-collector
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/namedpipereceiver

Check warning on line 17 in data/registry/collector-receiver-namedpipe.yml

View workflow job for this annotation

GitHub Actions / SPELLING check

Unknown word (namedpipereceiver)
version: v0.92.0
18 changes: 18 additions & 0 deletions data/registry/collector-receiver-osquery.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
title: osquery Receiver

Check warning on line 1 in data/registry/collector-receiver-osquery.yml

View workflow job for this annotation

GitHub Actions / SPELLING check

Unknown word (osquery)
registryType: receiver
language: collector
tags:
- osquery

Check warning on line 5 in data/registry/collector-receiver-osquery.yml

View workflow job for this annotation

GitHub Actions / SPELLING check

Unknown word (osquery)
- receiver
- collector
urls:
- repo: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/osqueryreceiver
license: Apache 2.0
description: The osquery receiver runs queries run on an [osquery](https://osquery.io/)'s daemon on a schedule and converts the output to logs.

Check warning on line 11 in data/registry/collector-receiver-osquery.yml

View workflow job for this annotation

GitHub Actions / SPELLING check

Unknown word (osquery)

Check warning on line 11 in data/registry/collector-receiver-osquery.yml

View workflow job for this annotation

GitHub Actions / SPELLING check

Unknown word (osquery)
authors:
- OpenTelemetry Authors
createdAt: 2024-01-19
package:
registry: go-collector
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/osqueryreceiver

Check warning on line 17 in data/registry/collector-receiver-osquery.yml

View workflow job for this annotation

GitHub Actions / SPELLING check

Unknown word (osqueryreceiver)
version: v0.92.0
2 changes: 1 addition & 1 deletion data/registry/exporter-js-jaeger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ createdAt: 2020-02-06
package:
registry: npm
name: '@opentelemetry/exporter-jaeger'
version: 1.19.0
version: 1.20.0
2 changes: 1 addition & 1 deletion data/registry/exporter-js-zipkin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ authors:
package:
name: '@opentelemetry/exporter-zipkin'
registry: npm
version: 1.19.0
version: 1.20.0
urls:
repo: https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-exporter-zipkin
docs: /docs/languages/js/exporters/#zipkin
Expand Down
8 changes: 3 additions & 5 deletions data/registry/exporter-php-otlp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@ tags:
- php
- exporter
license: Apache 2.0
description:
This library allows exporting telemetry data in the OpenTelemetry Protocol
(OTLP) format to the OpenTelemetry Collector and OTLP-compliant
backends/receivers.
description: This library allows exporting telemetry data in the OpenTelemetry Protocol (OTLP) format to the OpenTelemetry Collector and OTLP-compliant backends/receivers.
authors:
- name: OpenTelemetry Authors
package:
registry: packagist
name: opentelemetry/exporter-otlp
name: open-telemetry/exporter-otlp
version: "1.0.3"
urls:
repo: https://github.com/open-telemetry/opentelemetry-php/tree/main/src/Contrib/Otlp
createdAt: 2022-12-14
14 changes: 14 additions & 0 deletions data/registry/instrumentation-java-alibabadruid.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
title: alibabadruid

Check warning on line 1 in data/registry/instrumentation-java-alibabadruid.yml

View workflow job for this annotation

GitHub Actions / SPELLING check

Unknown word (alibabadruid)
registryType: instrumentation
language: java
tags:
- alibabadruid

Check warning on line 5 in data/registry/instrumentation-java-alibabadruid.yml

View workflow job for this annotation

GitHub Actions / SPELLING check

Unknown word (alibabadruid)
- instrumentation
- java
urls:
- repo: https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/alibaba-druid-1.0
license: Apache 2.0
description:
authors:
- OpenTelemetry Authors
createdAt: 2024-01-19
14 changes: 14 additions & 0 deletions data/registry/instrumentation-java-pekko.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
title: pekko

Check warning on line 1 in data/registry/instrumentation-java-pekko.yml

View workflow job for this annotation

GitHub Actions / SPELLING check

Unknown word (pekko)
registryType: instrumentation
language: java
tags:
- pekko
- instrumentation
- java
urls:
- repo: https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/pekko
license: Apache 2.0
description:
authors:
- OpenTelemetry Authors
createdAt: 2024-01-19
4 changes: 4 additions & 0 deletions data/registry/instrumentation-php-codeigniter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ authors:
urls:
repo: https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/src/Instrumentation/CodeIgniter
createdAt: 2023-05-22
package:
registry: packagist
name: open-telemetry/opentelemetry-auto-codeigniter
version: 0.0.5
18 changes: 18 additions & 0 deletions data/registry/instrumentation-php-extamqp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
title: OpenTelemetry ext-amqp auto-instrumentation
registryType: instrumentation
language: php
tags:
- extamqp
- instrumentation
- php
urls:
- repo: https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/src/Instrumentation/ExtAmqp
license: Apache 2.0
description: This is a read-only subtree split of https://github.com/open-telemetry/opentelemetry-php-contrib.
authors:
- OpenTelemetry Authors
createdAt: 2024-01-19
package:
registry: packagist
name: open-telemetry/opentelemetry-auto-ext-amqp
version: 0.0.2
18 changes: 18 additions & 0 deletions data/registry/instrumentation-php-guzzle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
title: OpenTelemetry Guzzle auto-instrumentation
registryType: instrumentation
language: php
tags:
- guzzle
- instrumentation
- php
urls:
- repo: https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/src/Instrumentation/Guzzle
license: Apache 2.0
description: This is a read-only subtree split of https://github.com/open-telemetry/opentelemetry-php-contrib.
authors:
- OpenTelemetry Authors
createdAt: 2024-01-19
package:
registry: packagist
name: open-telemetry/opentelemetry-auto-guzzle
version: 0.0.1
4 changes: 4 additions & 0 deletions data/registry/instrumentation-php-httpasyncclient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ authors:
urls:
repo: https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/src/Instrumentation/HttpAsyncClient
createdAt: 2023-05-22
package:
registry: packagist
name: open-telemetry/opentelemetry-auto-http-async
version: 1.0.0beta3
4 changes: 4 additions & 0 deletions data/registry/instrumentation-php-io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ authors:
urls:
repo: https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/src/Instrumentation/IO
createdAt: 2023-05-22
package:
registry: packagist
name: open-telemetry/opentelemetry-auto-io
version: 0.0.10
4 changes: 4 additions & 0 deletions data/registry/instrumentation-php-laravel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ authors:
urls:
repo: https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/src/Instrumentation/Laravel
createdAt: 2023-05-22
package:
registry: packagist
name: open-telemetry/opentelemetry-auto-laravel
version: 0.0.19
8 changes: 5 additions & 3 deletions data/registry/instrumentation-php-mongodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ tags:
- instrumentation
- php
license: Apache 2.0
description:
Auto-instrumentation hooks are registered via composer, and spans will
automatically be created for all MongoDB operations.
description: Auto-instrumentation hooks are registered via composer, and spans will automatically be created for all MongoDB operations.
authors:
- name: OpenTelemetry Authors
urls:
repo: https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/src/Instrumentation/MongoDB
createdAt: 2023-08-08
package:
registry: packagist
name: open-telemetry/opentelemetry-auto-mongodb
version: 0.0.4
4 changes: 4 additions & 0 deletions data/registry/instrumentation-php-pdo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ authors:
urls:
repo: https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/src/Instrumentation/PDO
createdAt: 2023-05-22
package:
registry: packagist
name: open-telemetry/opentelemetry-auto-pdo
version: 0.0.11
18 changes: 18 additions & 0 deletions data/registry/instrumentation-php-psr14.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
title: OpenTelemetry PSR-14 auto-instrumentation
registryType: instrumentation
language: php
tags:
- psr14
- instrumentation
- php
urls:
- repo: https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/src/Instrumentation/Psr14

Check failure on line 9 in data/registry/instrumentation-php-psr14.yml

View workflow job for this annotation

GitHub Actions / TEXT linter

textlint terminology error

Incorrect usage of the term: “Psr14”, use “PSR-14” instead
license: Apache 2.0
description: This is a read-only subtree split of https://github.com/open-telemetry/opentelemetry-php-contrib.
authors:
- OpenTelemetry Authors
createdAt: 2024-01-19
package:
registry: packagist
name: open-telemetry/opentelemetry-auto-psr14
version: 0.0.1
4 changes: 4 additions & 0 deletions data/registry/instrumentation-php-psr15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ authors:
urls:
repo: https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/src/Instrumentation/Psr15
createdAt: 2022-12-14
package:
registry: packagist
name: open-telemetry/opentelemetry-auto-psr15
version: 1.0.3
4 changes: 4 additions & 0 deletions data/registry/instrumentation-php-psr18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ authors:
urls:
repo: https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/src/Instrumentation/Psr18
createdAt: 2022-12-14
package:
registry: packagist
name: open-telemetry/opentelemetry-auto-psr18
version: 1.0.2
8 changes: 5 additions & 3 deletions data/registry/instrumentation-php-psr3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ tags:
- instrumentation
- php
license: Apache 2.0
description:
Auto-instrumentation hooks are registered via composer, and automatically
inject trace ID and span ID into log message context of any PSR-3 logger.
description: Auto-instrumentation hooks are registered via composer, and automatically inject trace ID and span ID into log message context of any PSR-3 logger.
authors:
- name: OpenTelemetry Authors
urls:
repo: https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/src/Instrumentation/Psr3
createdAt: 2023-07-10
package:
registry: packagist
name: open-telemetry/opentelemetry-auto-psr3
version: 0.0.5
4 changes: 4 additions & 0 deletions data/registry/instrumentation-php-slim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ authors:
urls:
repo: https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/src/Instrumentation/Slim
createdAt: 2022-12-14
package:
registry: packagist
name: open-telemetry/opentelemetry-auto-slim
version: 1.0.3
4 changes: 4 additions & 0 deletions data/registry/instrumentation-php-symfony.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ authors:
urls:
repo: https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/src/Instrumentation/Symfony
createdAt: 2023-05-22
package:
registry: packagist
name: open-telemetry/opentelemetry-auto-symfony
version: 1.0.0beta21
4 changes: 4 additions & 0 deletions data/registry/instrumentation-php-wordpress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ authors:
urls:
repo: https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/src/Instrumentation/Wordpress
createdAt: 2023-05-22
package:
registry: packagist
name: open-telemetry/opentelemetry-auto-wordpress
version: 0.0.14
4 changes: 4 additions & 0 deletions data/registry/instrumentation-php-yii.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ authors:
urls:
repo: https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/src/Instrumentation/Yii
createdAt: 2022-12-14
package:
registry: packagist
name: open-telemetry/opentelemetry-auto-yii
version: 0.0.1
9 changes: 5 additions & 4 deletions scripts/registry-scanner/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -211,17 +211,18 @@ function createYaml(
) {
return `title: ${title}
registryType: ${registryType}
isThirdParty: false
language: ${language}
tags:
- ${shortName}
- ${registryType}
- ${language}
repo: ${repo}
urls:
- repo: ${repo}
license: Apache 2.0
description: ${description}
authors: OpenTelemetry Authors
otVersion: latest
authors:
- OpenTelemetry Authors
createdAt: ${new Date().toISOString().split('T')[0]}
`;
}

Expand Down
15 changes: 9 additions & 6 deletions scripts/update-registry-versions.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

# To update all files in the registry run
# for i in ../data/registry/*; do ./update-registry-versions.sh "$i"; done

# Check if a file is provided
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <yaml_file>"
Expand Down Expand Up @@ -54,29 +57,29 @@ registry=$(yq eval '.package.registry' "$yaml_file")
current_version=$(yq eval '.package.version' "$yaml_file")

if [ -z "$name" ] || [ -z "$registry" ]; then
echo "Package name and/or registry are missing in the YAML file."
echo "${yaml_file}: Package name and/or registry are missing in the YAML file."
exit 1
fi

# Get latest version
latest_version=$(get_latest_version "$name" "$registry")

if [ "$latest_version" == "Registry not supported." ]; then
echo "Registry not supported.";
echo "${yaml_file}: Registry not supported.";
exit 0
fi

# If version field is missing, populate it with the latest version
if [ -z "$current_version" ]; then
yq eval -i ".package.version = \"$latest_version\"" $yaml_file
echo "Version field was missing. Populated with the latest version: $latest_version"
echo "${yaml_file}: Version field was missing. Populated with the latest version: $latest_version"
exit 0
fi

# Compare and update if necessary
if [ "$latest_version" != "$current_version" ]; then
yq eval -i ".package.version = \"$latest_version\"" "$yaml_file"
echo "Updated version from $current_version to $latest_version in $yaml_file"
echo "${yaml_file}: Updated version from $current_version to $latest_version in $yaml_file"
else
echo "Version is already up to date."
fi
echo "${yaml_file}: Version is already up to date."
fi

0 comments on commit 6ee3590

Please sign in to comment.