{"id":50101,"library":"otel-metric","title":"OpenTelemetry Go Metric API","description":"Provides the OpenTelemetry metric API for instrumenting Go applications with metrics.","status":"active","version":"1.44.0","language":"go","source_language":null,"source_url":null,"tags":["opentelemetry","metrics","observability","telemetry"],"install":[{"cmd":"go get go.opentelemetry.io/otel/metric","lang":"bash","label":"Install go.opentelemetry.io/otel/metric"}],"dependencies":[],"imports":[{"symbol":"metric","correct":"go.opentelemetry.io/otel/metric"}],"quickstart":{"code":"package main\n\nimport (\n\t\"context\"\n\t\"go.opentelemetry.io/otel/metric\"\n\t\"go.opentelemetry.io/otel\"\n)\n\nfunc main() {\n\tmeter := otel.Meter(\"example\")\n\tcounter, _ := meter.Int64Counter(\"my.counter\")\n\tcounter.Add(context.Background(), 1)\n}","lang":"go","description":"Creates a counter and increments it."},"warnings":[],"env_vars":null,"search_vec":"'api':4,9 'applic':13 'go':2,12 'instrument':11 'metric':3,8,15,17 'observ':18 'opentelemetri':1,7,16 'provid':5 'telemetri':19","created_at":"2026-06-15T04:40:30.465808+00:00","updated_at":"2026-06-15T04:40:30.465808+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/open-telemetry/opentelemetry-go","github":null,"docs":"https://pkg.go.dev/go.opentelemetry.io/otel/metric#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["observability"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}