Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registry updates Jan 2024 #3821

Merged
merged 4 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions data/registry/collector-receiver-namedpipe.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# cSpell:ignore namedpipereceiver namedpipe
title: Named Pipe Receiver
registryType: receiver
language: collector
tags:
- 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:
- name: OpenTelemetry Authors
createdAt: 2024-01-19
package:
registry: go-collector
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/namedpipereceiver
version: v0.92.0
21 changes: 21 additions & 0 deletions data/registry/collector-receiver-osquery.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# cSpell:ignore osqueryreceiver osquery
title: osquery Receiver
registryType: receiver
language: collector
tags:
- 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.
authors:
- name: OpenTelemetry Authors
createdAt: 2024-01-19
package:
registry: go-collector
name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/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
3 changes: 2 additions & 1 deletion data/registry/exporter-php-otlp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ 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
17 changes: 17 additions & 0 deletions data/registry/instrumentation-java-alibabadruid.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# cSpell:ignore alibabadruid
title: Alibaba Druid Instrumentation
registryType: instrumentation
language: java
tags:
- 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:
This library provides an Alibaba Druid instrumentation to track requests
through OpenTelemetry.
authors:
- name: 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
19 changes: 19 additions & 0 deletions data/registry/instrumentation-php-extamqp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# cSpell:ignore ext-amqp extamqp
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: Instrumentation Library for ext-amqp
authors:
- name: 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: Instrumentation Library for Guzzle
authors:
- name: 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
4 changes: 4 additions & 0 deletions data/registry/instrumentation-php-mongodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ 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
20 changes: 20 additions & 0 deletions data/registry/instrumentation-php-psr14.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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
license: Apache 2.0
description:
This is a read-only subtree split of
https://github.com/open-telemetry/opentelemetry-php-contrib.
authors:
- name: 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
4 changes: 4 additions & 0 deletions data/registry/instrumentation-php-psr3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ 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:
- name: 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
Loading