Skip to content

Commit

Permalink
release: v0.9.4 (#390)
Browse files Browse the repository at this point in the history
Signed-off-by: Eliott Bouhana <eliott.bouhana@datadoghq.com>

---------

Signed-off-by: Eliott Bouhana <eliott.bouhana@datadoghq.com>
  • Loading branch information
eliottness authored Nov 13, 2024
1 parent e6d1010 commit f12f82e
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 50 deletions.
84 changes: 49 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,39 +117,46 @@ In addition to this, Orchestrion only supports projects using [Go modules][go-mo

Orchestrion supports automatic tracing of the following libraries:

Library | Since | Notes
--------------------------------------|:--------:|-----------------------------------------------
`database/sql` | `v0.7.0` | [Aspect][db-sql]
`github.com/gin-gonic/gin` | `v0.7.0` | [Aspect][gin]
`github.com/go-chi/chi/v5` | `v0.7.0` | [Aspect][chi-v5]
`github.com/go-chi/chi` | `v0.7.0` | [Aspect][chi-v1]
`github.com/go-redis/redis/v7` | `v0.7.0` | [Aspect][go-redis-v7]
`github.com/go-redis/redis/v8` | `v0.7.0` | [Aspect][go-redis-v8]
`github.com/gofiber/fiber/v2` | `v0.7.0` | [Aspect][fiber-v2]
`github.com/gomodule/redigo/redis` | `v0.7.0` | [Aspect][redigo]
`github.com/gorilla/mux` | `v0.7.0` | [Aspect][gorilla]. Cannot be opted out of via `//dd:ignore`
`github.com/jinzhu/gorm` | `v0.7.0` | [Aspect][jinzhu-gorm]
`github.com/labstack/echo/v4` | `v0.7.0` | [Aspect][echo]
`google.golang.org/grpc` | `v0.7.0` | [Aspect][grpc]
`gorm.io/gorm` | `v0.7.0` | [Aspect][gorm]
`net/http` | `v0.7.0` | [Client][net-http.client] / [Server][net-http.server]
`go.mongodb.org/mongo-driver/mongo` | `v0.7.3` | [Aspect][mongo]
`github.com/aws-sdk-go/aws` | `v0.7.4` | [Aspect][aws-sdk-go]
`github.com/hashicorp/vault` | `v0.7.4` | [Aspect][hashicorp-vault]
`github.com/IBM/sarama` | `v0.7.4` | [Aspect][ibm-sarama]
`github.com/Shopify/sarama` | `v0.7.4` | [Aspect][shopify-sarama]
`k8s.io/client-go` | `v0.7.4` | [Aspect][k8s-client]
`log/slog` | `v0.7.4` | [Aspect][log-slog]
`os` | `v0.8.0` | [Aspect][os]
`github.com/aws/aws-sdk-go-v2` | `v0.8.0` | [Aspect][aws-sdk-go-v2]
`github.com/redis/go-redis/v9` | `v0.8.0` | [Aspect][go-redis-v9]
`github.com/gocql/gocql` | `v0.8.0` | [Aspect][gocql]
`cloud.google.com/go/pubsub` | `v0.9.0` | [Aspect][pubsub]
`github.com/99designs/gqlgen` | `v0.9.1` | [Aspect][gqlgen]
`github.com/redis/go-redis` | `v0.9.1` | [Aspect][go-redis]
`github.com/graph-gophers/graphql-go` | `v0.9.1` | [Aspect][graph-gophers]
`github.com/graphql-go/graphql` | `v0.9.1` | [Aspect][graphql]
`github.com/jackc/pgx` | `v0.9.4` | [Aspect][pgx]
Library | Since | Notes
------------------------------------------------------|:--------:|------------------------------------------------------------
`database/sql` | `v0.7.0` | [Aspect][db-sql]
`github.com/gin-gonic/gin` | `v0.7.0` | [Aspect][gin]
`github.com/go-chi/chi/v5` | `v0.7.0` | [Aspect][chi-v5]
`github.com/go-chi/chi` | `v0.7.0` | [Aspect][chi-v1]
`github.com/go-redis/redis/v7` | `v0.7.0` | [Aspect][go-redis-v7]
`github.com/go-redis/redis/v8` | `v0.7.0` | [Aspect][go-redis-v8]
`github.com/gofiber/fiber/v2` | `v0.7.0` | [Aspect][fiber-v2]
`github.com/gomodule/redigo/redis` | `v0.7.0` | [Aspect][redigo]
`github.com/gorilla/mux` | `v0.7.0` | [Aspect][gorilla]. Cannot be opted out of via `//dd:ignore`
`github.com/jinzhu/gorm` | `v0.7.0` | [Aspect][jinzhu-gorm]
`github.com/labstack/echo/v4` | `v0.7.0` | [Aspect][echo]
`google.golang.org/grpc` | `v0.7.0` | [Aspect][grpc]
`gorm.io/gorm` | `v0.7.0` | [Aspect][gorm]
`net/http` | `v0.7.0` | [Client][net-http.client] / [Server][net-http.server]
`go.mongodb.org/mongo-driver/mongo` | `v0.7.3` | [Aspect][mongo]
`github.com/aws-sdk-go/aws` | `v0.7.4` | [Aspect][aws-sdk-go]
`github.com/hashicorp/vault` | `v0.7.4` | [Aspect][hashicorp-vault]
`github.com/IBM/sarama` | `v0.7.4` | [Aspect][ibm-sarama]
`github.com/Shopify/sarama` | `v0.7.4` | [Aspect][shopify-sarama]
`k8s.io/client-go` | `v0.7.4` | [Aspect][k8s-client]
`log/slog` | `v0.7.4` | [Aspect][log-slog]
`os` | `v0.8.0` | [Aspect][os]
`github.com/aws/aws-sdk-go-v2` | `v0.8.0` | [Aspect][aws-sdk-go-v2]
`github.com/redis/go-redis/v9` | `v0.8.0` | [Aspect][go-redis-v9]
`github.com/gocql/gocql` | `v0.8.0` | [Aspect][gocql]
`cloud.google.com/go/pubsub` | `v0.9.0` | [Aspect][pubsub]
`github.com/99designs/gqlgen` | `v0.9.1` | [Aspect][gqlgen]
`github.com/redis/go-redis` | `v0.9.1` | [Aspect][go-redis]
`github.com/graph-gophers/graphql-go` | `v0.9.1` | [Aspect][graph-gophers]
`github.com/graphql-go/graphql` | `v0.9.1` | [Aspect][graphql]
`github.com/jackc/pgx` | `v0.9.4` | [Aspect][pgx]
`github.com/elastic/go-elasticsearch` | `v0.9.4` | [Aspect][elasticsearch]
`github.com/twitchtv/twirp` | `v0.9.4` | [Aspect][twirp]
`github.com/segmentio/kafka-go` | `v0.9.4` | [Aspect][segmentio-kafka-go]
`github.com/confluentinc/confluent-kafka-go/kafka` | `v0.9.4` | [Aspect][confluent-kafka-go-v1]
`github.com/confluentinc/confluent-kafka-go/kafka/v2` | `v0.9.4` | [Aspect][confluent-kafka-go-v2]
`github.com/julienschmidt/httprouter` | `v0.9.4` | [Aspect][httprouter]
`github.com/sirupsen/logrus` | `v0.9.4` | [Aspect][logrus]

[db-sql]: https://datadoghq.dev/orchestrion/docs/built-in/stdlib/database-sql/
[gin]: https://datadoghq.dev/orchestrion/docs/built-in/http/gin/
Expand All @@ -165,8 +172,8 @@ Library | Since | Notes
[echo]: https://datadoghq.dev/orchestrion/docs/built-in/http/echo/
[grpc]: https://datadoghq.dev/orchestrion/docs/built-in/grpc/
[gorm]: https://datadoghq.dev/orchestrion/docs/built-in/databases/gorm/#gormiogorm
[net-http.Client]: https://datadoghq.dev/orchestrion/docs/built-in/stdlib/net-http.client/
[net-http.Server]: https://datadoghq.dev/orchestrion/docs/built-in/stdlib/net-http.server/
[net-http.client]: https://datadoghq.dev/orchestrion/docs/built-in/stdlib/net-http.client/
[net-http.server]: https://datadoghq.dev/orchestrion/docs/built-in/stdlib/net-http.server/
[mongo]: https://datadoghq.dev/orchestrion/docs/built-in/databases/mongo/
[k8s-client]: https://datadoghq.dev/orchestrion/docs/built-in/k8s-client/
[hashicorp-vault]: https://datadoghq.dev/orchestrion/docs/built-in/api/vault/
Expand All @@ -183,6 +190,13 @@ Library | Since | Notes
[graph-gophers]: https://datadoghq.dev/orchestrion/docs/built-in/graphql/graph-gophers/
[graphql]: https://datadoghq.dev/orchestrion/docs/built-in/graphql/graphql-go/
[pgx]: https://datadoghq.dev/orchestrion/docs/built-in/databases/pgx
[elasticsearch]: https://datadoghq.dev/orchestrion/docs/built-in/databases/go-elasticsearch/
[twirp]: https://datadoghq.dev/orchestrion/docs/built-in/rpc/twirp/
[segmentio-kafka-go]: https://datadoghq.dev/orchestrion/docs/built-in/datastreams/segmentio_kafka_v0/
[confluent-kafka-go-v1]: https://datadoghq.dev/orchestrion/docs/built-in/datastreams/confluentinc_kafka/#inject-kafka-library-version-v1
[confluent-kafka-go-v2]: https://datadoghq.dev/orchestrion/docs/built-in/datastreams/confluentinc_kafka/#inject-kafka-library-version-v2
[httprouter]: https://datadoghq.dev/orchestrion/docs/built-in/http/julienschmidt_httprouter/
[logrus]: https://datadoghq.dev/orchestrion/docs/built-in/logs/logrus/

Calls to these libraries are instrumented with library-specific code adding tracing to them, including support for
distributed traces.
Expand Down
22 changes: 8 additions & 14 deletions internal/pin/pin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,7 @@ var goModTemplate = template.Must(template.New("go-mod").Parse(`module github.co
go {{ .GoVersion }}
{{ if .OrchestrionRequired }}
replace github.com/DataDog/orchestrion {{ .OrchestrionVersion }} => {{ .OrchestrionPath }}
{{ end }}
{{ range $path, $version := .Require }}
require {{ $path }} {{ $version }}
Expand All @@ -156,20 +154,16 @@ func scaffold(t *testing.T, requires map[string]string) string {

defer goMod.Close()

_, orchestrionRequired := requires["github.com/DataDog/orchestrion"]

require.NoError(t, goModTemplate.Execute(goMod, struct {
GoVersion string
OrchestrionVersion string
OrchestrionPath string
OrchestrionRequired bool
Require map[string]string
GoVersion string
OrchestrionVersion string
OrchestrionPath string
Require map[string]string
}{
GoVersion: runtime.Version()[2:6],
OrchestrionVersion: version.Tag,
OrchestrionPath: rootDir,
OrchestrionRequired: orchestrionRequired,
Require: requires,
GoVersion: runtime.Version()[2:6],
OrchestrionVersion: version.Tag,
OrchestrionPath: rootDir,
Require: requires,
}))

return tmp
Expand Down
2 changes: 1 addition & 1 deletion internal/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
package version

// Tag specifies the current release tag. It needs to be manually updated.
const Tag = "v0.9.4-rc.1"
const Tag = "v0.9.4"

0 comments on commit f12f82e

Please sign in to comment.