Skip to content

Commit c4b5f1b

Browse files
rrohitramsenRohit
andauthored
Change Go module path from go.agenttel.dev/agenttel to go.agenttel.dev/agenttel-go (#26)
The Go module lives in the agenttel-go/ subdirectory of the monorepo. Go tooling requires the module path suffix to match the directory name so the module proxy can locate go.mod correctly. - Update go.mod and all import paths across 38 files - Update vanity import at go.agenttel.dev to use prefix go.agenttel.dev - Update README and docs with new install command Signed-off-by: Rohit <rohit@Rohits-MBP.mynet> Co-authored-by: Rohit <rohit@Rohits-MBP.mynet>
1 parent 0b6169d commit c4b5f1b

38 files changed

Lines changed: 96 additions & 96 deletions

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
1010

1111
**Go SDK (agenttel-go) — Full Feature Parity**
1212

13-
Core (`go.agenttel.dev/agenttel`):
13+
Core (`go.agenttel.dev/agenttel-go`):
1414
- Semantic attributes (~60 constants) matching Java/Python SDKs
1515
- All enums (`ServiceTier`, `ErrorCategory`, `DependencyType`, etc.)
1616
- YAML configuration loader from `agenttel.yml`
@@ -21,8 +21,8 @@ Core (`go.agenttel.dev/agenttel`):
2121
- HTTP, Gin, and gRPC middleware
2222

2323
GenAI Instrumentation (sub-modules):
24-
- `go.agenttel.dev/agenttel/genai/openai` — OpenAI SDK wrapper (sync + streaming)
25-
- `go.agenttel.dev/agenttel/genai/anthropic` — Anthropic SDK wrapper (sync + streaming)
24+
- `go.agenttel.dev/agenttel-go/genai/openai` — OpenAI SDK wrapper (sync + streaming)
25+
- `go.agenttel.dev/agenttel-go/genai/anthropic` — Anthropic SDK wrapper (sync + streaming)
2626
- `GenAiSpanBuilder` for consistent span creation with cost calculation
2727

2828
Agentic Observability:

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<a href="https://central.sonatype.com/search?q=dev.agenttel"><img src="https://img.shields.io/maven-central/v/dev.agenttel/agenttel-core?label=Maven%20Central&logo=apachemaven" alt="Maven Central"></a>
1515
<a href="https://www.npmjs.com/package/@agenttel/node"><img src="https://img.shields.io/npm/v/@agenttel/node?label=npm&logo=npm" alt="npm"></a>
1616
<a href="https://pypi.org/project/agenttel/"><img src="https://img.shields.io/pypi/v/agenttel?label=PyPI&logo=python&logoColor=white" alt="PyPI"></a>
17-
<a href="https://pkg.go.dev/go.agenttel.dev/agenttel"><img src="https://img.shields.io/badge/Go-pkg.go.dev-00ADD8?logo=go&logoColor=white" alt="Go Reference"></a>
17+
<a href="https://pkg.go.dev/go.agenttel.dev/agenttel-go"><img src="https://img.shields.io/badge/Go-pkg.go.dev-00ADD8?logo=go&logoColor=white" alt="Go Reference"></a>
1818
</p>
1919

2020
<p align="center">
@@ -445,7 +445,7 @@ All spans are now enriched with topology, baselines, anomaly detection, and SLO
445445
#### 1. Install
446446

447447
```bash
448-
go get go.agenttel.dev/agenttel@latest
448+
go get go.agenttel.dev/agenttel-go@latest
449449
```
450450

451451
#### 2. Configure
@@ -468,8 +468,8 @@ agenttel:
468468
469469
```go
470470
import (
471-
agenttel "go.agenttel.dev/agenttel"
472-
agmw "go.agenttel.dev/agenttel/middleware/http"
471+
agenttel "go.agenttel.dev/agenttel-go"
472+
agmw "go.agenttel.dev/agenttel-go/middleware/http"
473473
)
474474

475475
cfg, _ := agenttel.LoadConfigFile("agenttel.yml")
@@ -630,7 +630,7 @@ Then ask your IDE agent: *"Analyze my codebase and generate AgentTel configurati
630630
| `agenttel-javaagent` | `dev.agenttel:agenttel-javaagent` | Zero-code OTel javaagent extension. Drop-in enrichment for any JVM app — no Spring dependency. |
631631
| `agenttel-spring-boot-starter` | `dev.agenttel:agenttel-spring-boot-starter` | Spring Boot auto-configuration. Single dependency for Spring Boot apps. |
632632
| `agenttel-web` | `@agenttel/web` (npm) | Browser telemetry SDK — auto-instrumentation of page loads, navigation, API calls, errors, Web Vitals, journey tracking, anomaly detection, W3C trace propagation. |
633-
| `agenttel-go` | `go.agenttel.dev/agenttel` (Go module) | Go SDK — full feature parity. Core enrichment, net/http + Gin + gRPC middleware, GenAI instrumentation, MCP agent interface, agentic observability. |
633+
| `agenttel-go` | `go.agenttel.dev/agenttel-go` (Go module) | Go SDK — full feature parity. Core enrichment, net/http + Gin + gRPC middleware, GenAI instrumentation, MCP agent interface, agentic observability. |
634634
| `agenttel-node` | `@agenttel/node` (npm) | Node.js SDK — full feature parity. Core enrichment, Express + Fastify middleware, GenAI instrumentation, MCP agent interface, agentic observability. |
635635
| `agenttel-types` | `@agenttel/types` (npm) | Shared TypeScript types, enums, and attribute constants for `@agenttel/web` and `@agenttel/node`. |
636636
| `agenttel-python` | `agenttel` (pip) | Python SDK — full feature parity with JVM SDK. Core enrichment, FastAPI integration, GenAI instrumentation, MCP agent interface, agentic observability. |
@@ -773,7 +773,7 @@ implementation 'dev.agenttel:agenttel-spring-boot-starter:0.3.0-alpha'
773773

774774
| Module | Description |
775775
|--------|-------------|
776-
| `go.agenttel.dev/agenttel` | Go SDK — core enrichment, middleware (net/http, Gin, gRPC), GenAI, Agent/MCP, agentic observability |
776+
| `go.agenttel.dev/agenttel-go` | Go SDK — core enrichment, middleware (net/http, Gin, gRPC), GenAI, Agent/MCP, agentic observability |
777777

778778
**npm (Browser + Node.js):**
779779

agenttel-go/agent/incident.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package agent
33
import (
44
"time"
55

6-
"go.agenttel.dev/agenttel/enums"
7-
"go.agenttel.dev/agenttel/models"
6+
"go.agenttel.dev/agenttel-go/enums"
7+
"go.agenttel.dev/agenttel-go/models"
88
)
99

1010
// IncidentContext holds all context needed for incident investigation.

agenttel-go/agentic/orchestration.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"go.opentelemetry.io/otel/attribute"
77
"go.opentelemetry.io/otel/trace"
88

9-
agattr "go.agenttel.dev/agenttel/attributes"
10-
"go.agenttel.dev/agenttel/enums"
9+
agattr "go.agenttel.dev/agenttel-go/attributes"
10+
"go.agenttel.dev/agenttel-go/enums"
1111
)
1212

1313
// SequentialOrchestrator runs agent stages in sequence.

agenttel-go/agentic/scopes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"go.opentelemetry.io/otel/attribute"
55
"go.opentelemetry.io/otel/trace"
66

7-
agattr "go.agenttel.dev/agenttel/attributes"
7+
agattr "go.agenttel.dev/agenttel-go/attributes"
88
)
99

1010
// StepScope represents a single reasoning step.

agenttel-go/agentic/tracer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"go.opentelemetry.io/otel/attribute"
99
"go.opentelemetry.io/otel/trace"
1010

11-
agattr "go.agenttel.dev/agenttel/attributes"
12-
"go.agenttel.dev/agenttel/enums"
11+
agattr "go.agenttel.dev/agenttel-go/attributes"
12+
"go.agenttel.dev/agenttel-go/enums"
1313
)
1414

1515
// AgentTracer creates agent invocation traces.

agenttel-go/agentic/tracer_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"go.opentelemetry.io/otel/sdk/trace/tracetest"
1111
oteltrace "go.opentelemetry.io/otel/trace"
1212

13-
agattr "go.agenttel.dev/agenttel/attributes"
14-
"go.agenttel.dev/agenttel/enums"
13+
agattr "go.agenttel.dev/agenttel-go/attributes"
14+
"go.agenttel.dev/agenttel-go/enums"
1515
)
1616

1717
func setupTracer() (*tracetest.InMemoryExporter, oteltrace.Tracer) {

agenttel-go/agenttel.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
package agenttel
1717

1818
import (
19-
"go.agenttel.dev/agenttel/anomaly"
20-
"go.agenttel.dev/agenttel/baseline"
21-
"go.agenttel.dev/agenttel/errorclass"
22-
"go.agenttel.dev/agenttel/events"
23-
"go.agenttel.dev/agenttel/models"
24-
"go.agenttel.dev/agenttel/processor"
25-
"go.agenttel.dev/agenttel/slo"
26-
"go.agenttel.dev/agenttel/topology"
19+
"go.agenttel.dev/agenttel-go/anomaly"
20+
"go.agenttel.dev/agenttel-go/baseline"
21+
"go.agenttel.dev/agenttel-go/errorclass"
22+
"go.agenttel.dev/agenttel-go/events"
23+
"go.agenttel.dev/agenttel-go/models"
24+
"go.agenttel.dev/agenttel-go/processor"
25+
"go.agenttel.dev/agenttel-go/slo"
26+
"go.agenttel.dev/agenttel-go/topology"
2727
)
2828

2929
// Engine is the top-level orchestrator for all AgentTel components.

agenttel-go/anomaly/detector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package anomaly
44
import (
55
"math"
66

7-
"go.agenttel.dev/agenttel/models"
7+
"go.agenttel.dev/agenttel-go/models"
88
)
99

1010
// Detector performs z-score-based anomaly detection.

agenttel-go/anomaly/detector_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package anomaly
33
import (
44
"testing"
55

6-
"go.agenttel.dev/agenttel/enums"
7-
"go.agenttel.dev/agenttel/models"
6+
"go.agenttel.dev/agenttel-go/enums"
7+
"go.agenttel.dev/agenttel-go/models"
88
)
99

1010
func TestDetector_NormalValue(t *testing.T) {

0 commit comments

Comments
 (0)