Commit Graph

81 Commits

Author SHA1 Message Date
Tiago Peczenyj e8ad794e96
Format code and fix go vet (#2696)
* run go fix ./...

Signed-off-by: Tiago Peczenyj <tpeczenyj@weborama.com>

* run make fmt

Signed-off-by: Tiago Peczenyj <tpeczenyj@weborama.com>

* fix go vet ./... issues

* Update README.md

Reorder imports with the rules defined in the Makefile 

as if we run `make fmt`

* run gofumpt -w .

* update Makefile to use gofumpt instead gofmt

* increment makefile

* format test

* format tests

Signed-off-by: Tiago Peczenyj <tpeczenyj@weborama.com>

---------

Signed-off-by: Tiago Peczenyj <tpeczenyj@weborama.com>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2023-09-20 14:03:44 +03:00
ofekshenawa c3098d5f7e
Bump to 9.1.0 (#2676)
* Bump to 9.0.6

* Bump to 9.1.0
2023-08-16 18:30:40 +03:00
Vladimir Mihailenco dc8c93ba66
chore: release v9.0.5 (release.sh) (#2614) 2023-05-29 09:05:49 +03:00
Mikhail Mazurskiy 9a9423d3df
chore(deps): Update otel/metric to stable API (#2607) 2023-05-24 12:07:43 +03:00
Vladimir Mihailenco fcb3506e79
chore: release v9.0.4 (release.sh) (#2572) 2023-05-02 08:40:46 +03:00
Vincent Boutour e2fabdf157
chore(deps): Updating otel/metric and fixing breaking changes (#2569)
* chore(deps): Updating otel/metric and fixing breaking changes

Signed-off-by: Vincent Boutour <bob@vibioh.fr>

* ci: Removing go1.18 and updating example/otel to latest version

Latest otel version use atomic.Pointer which is a go1.19 feature, so we have to drop support for the go 1.18

Signed-off-by: Vincent Boutour <bob@vibioh.fr>

---------

Signed-off-by: Vincent Boutour <bob@vibioh.fr>
2023-05-01 11:33:30 +03:00
Chayim a2aa6b7138
Version 9.0.3 (#2518) 2023-04-02 13:55:09 +03:00
Monkey ad89a97fdc
chore: update go mod, Upgrade golang.org/x/net version to 0.7.0 (#2476)
Signed-off-by: monkey92t <golang@88.com>
2023-03-06 19:42:42 +08:00
Kason Braley 74389af269
docs: Update redisotel example for v9 (#2425)
* docs: Update redisotel docs for v9

Update the redisotel example for v9 to match the example at
https://redis.uptrace.dev/guide/go-redis-monitoring.html#what-is-opentelemetry.

* docs: Point to correct otel example
2023-02-07 08:40:00 +02:00
Vladimir Mihailenco a38f75b640
chore: release v9.0.2 (release.sh) (#2412)
* chore: release v9.0.2 (release.sh)

* chore: remove release in favor of release drafter
2023-02-01 10:13:41 +02:00
Ngọc Long e29e42cde2
feat: upgrade OpenTelemetry, use the new metrics API. (#2410) 2023-02-01 16:04:33 +08:00
Vladimir Mihailenco 515043aaab chore: fix test 2023-01-30 10:19:36 +02:00
Vladimir Mihailenco 30e954104a chore: release v9.0.1 (release.sh) 2023-01-30 09:54:30 +02:00
Vladimir Mihailenco 98a8502d8e chore: downgrade OpenTelemetry 2023-01-30 09:47:57 +02:00
Vladimir Mihailenco 0023b80d82 chore: release v9.0.0 (release.sh) 2023-01-30 08:59:17 +02:00
Dimitrij Denissenko 7fa451c740 chore: fewer test dependencies 2023-01-27 15:01:50 +00:00
Daniel Cormier 805bfc2c60
fix: implement `redis.Hook` (v9) for `rediscensus.TracingHook` (#2367)
Fixes #2266
2023-01-26 08:23:14 +02:00
Vladimir Mihailenco b8c0db8c73 chore: release v9.0.0-rc.4 (release.sh) 2023-01-24 16:15:51 +02:00
Vladimir Mihailenco d9c1775b88 chore: release v9.0.0-rc.3 (release.sh) 2023-01-24 15:54:58 +02:00
Vladimir Mihailenco 97b491aace chore: update import path 2023-01-23 08:48:54 +02:00
Scott 7c4b924350
fix(redisotel): correct metrics.DialHook attrs (#2331) 2022-12-23 20:40:07 +08:00
Vladimir Mihailenco 3892986f01 feat(redisotel): add code attributes 2022-12-06 11:49:56 +02:00
Vladimir Mihailenco 0b7ced8baf chore: release v9.0.0-rc.2 (release.sh) 2022-11-26 14:20:33 +02:00
Vladimir Mihailenco 7335ef65dc chore: cleanup 2022-11-21 11:31:38 +02:00
Vladimir Mihailenco bbff4dd5dc chore: fix metrics in redisotel 2022-11-18 15:32:17 +02:00
Vladimir Mihailenco 44af3c09a7 chore: add more metrics to redisotel 2022-11-17 16:24:16 +02:00
Vladimir Mihailenco e84461f7ed chore: release v9.0.0-rc.1 (release.sh) 2022-10-14 15:19:56 +03:00
Vladimir Mihailenco 3e4ae80c12 chore: improve instrumentation example 2022-10-12 17:18:55 +03:00
Vladimir Mihailenco 2ec03d9b37 fix: late binding for dial hook 2022-10-12 15:00:06 +03:00
Vladimir Mihailenco 0dff3d1461 feat: add OpenTelemetry metrics instrumentation 2022-10-12 11:09:41 +03:00
Vladimir Mihailenco 41a533cb7b chore: downgrade opentelemetry 2022-10-11 10:37:43 +03:00
Vladimir Mihailenco 2fbf8d574e
Merge pull request #2163 from KnutZuidema/feat/extra_redis_prometheus_stat_collector
feat(extra/redisprometheus): prometheus.Collector implementation for redis clients
2022-10-06 09:08:43 +03:00
Vladimir Mihailenco 2bcb060d6a chore: update example 2022-10-05 10:06:54 +03:00
Vladimir Mihailenco d3df06039d Merge branch 'otel-ignore-raw-cmd' 2022-10-04 15:16:23 +03:00
Mitch Usher 3129e09b29 Update redis otel with option to not set raw command as an attribute 2022-10-04 15:16:14 +03:00
Leo Antunes c0a6f2d724 chore(redisotel): bump deps 2022-09-16 13:20:00 +02:00
Vladimir Mihailenco 2e174a228f chore: release v9.0.0-beta.2 (release.sh) 2022-07-28 15:40:09 +03:00
Knut Zuidema 43d0cbb9b8
feat(extra/redisprometheus): prometheus.Collector implementation for redis clients
Signed-off-by: Knut Zuidema <me@knutzuidema.de>
2022-07-21 16:02:50 +02:00
Vladimir Mihailenco 58e087fe08 chore: release v9.0.0-beta.1 (release.sh) 2022-06-04 18:02:11 +03:00
Vladimir Mihailenco a18fad5bd3 chore: v9 2022-06-04 17:42:06 +03:00
Vladimir Mihailenco 3a722be811 fix: fix tests 2022-06-04 15:25:01 +03:00
Vladimir Mihailenco 6f7d7a1e9d chore: release v8.11.5 (release.sh) 2022-03-17 15:14:48 +02:00
Jonas Lergell 39faaa1715 feat: add support for passing extra attributes added to spans 2022-02-22 14:15:28 +01:00
Nelz 3ecadf5f87
chore: instrumentation name and version (#2012) 2022-02-02 09:26:14 +02:00
Nelz bf8d4aa60c
feat(redisotel): ability to override TracerProvider (#1998) 2022-01-18 08:44:05 +02:00
Kristinn Björgvin Árdal 065b200070 fix(extra/redisotel): set span.kind attribute to client
According to the opentelemetry specification this should always be set to client for database client
libraries.

I've also removed the SetAttributes call and instead set the attributes during creation of the span.
This is what the library SHOULD be doing according to the opentelemetry api specification.
2021-10-27 10:28:48 +02:00
Vladimir Mihailenco 0457d0add6 chore: release v8.11.4 (release.sh) 2021-10-04 16:28:19 +03:00
Vladimir Mihailenco 3f99e7b13b chore: update dependencies 2021-09-23 16:49:39 +03:00
Vladimir Mihailenco 9b6ee9c3cc chore: gofmt all code 2021-09-08 16:52:29 +03:00
Vladimir Mihailenco 702e7cfe68 Release v8.11.3 (release.sh) 2021-08-12 14:35:44 +03:00