diff options
author | 2025-02-06 12:14:37 +0100 | |
---|---|---|
committer | 2025-02-06 12:14:37 +0100 | |
commit | dd094e401282e135989f57c0ca3dee7dea3f5207 (patch) | |
tree | 74cb77830f621840273255a17565ced73b4fa997 /internal/api | |
parent | [feature] Use `X-Robots-Tag` headers to instruct scrapers/crawlers (#3737) (diff) | |
download | gotosocial-dd094e401282e135989f57c0ca3dee7dea3f5207.tar.xz |
[chore] update otel libraries (#3740)
* chore: update otel dependencies
* refactor: combine tracing & metrics in observability package
* chore: update example tracing compose file
Diffstat (limited to 'internal/api')
-rw-r--r-- | internal/api/metrics/metrics.go | 2 | ||||
-rw-r--r-- | internal/api/metrics/no_metrics.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/api/metrics/metrics.go b/internal/api/metrics/metrics.go index bbca861ef..5161a3b71 100644 --- a/internal/api/metrics/metrics.go +++ b/internal/api/metrics/metrics.go @@ -15,7 +15,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. -//go:build !nometrics +//go:build !nootel package metrics diff --git a/internal/api/metrics/no_metrics.go b/internal/api/metrics/no_metrics.go index ae7fc7ce7..5aa7b722d 100644 --- a/internal/api/metrics/no_metrics.go +++ b/internal/api/metrics/no_metrics.go @@ -15,7 +15,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. -//go:build nometrics +//go:build nootel package metrics |