From 0283e478c4c4f7eaccc38b1f92a2ddc1993fd856 Mon Sep 17 00:00:00 2001 From: Noah <47485486+noahmmcgivern@users.noreply.github.com> Date: Thu, 3 Oct 2024 21:12:42 +0000 Subject: [PATCH] fix: Expose agent library (#1229) --- newrelic/newrelic.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/newrelic/newrelic.go b/newrelic/newrelic.go index f7181fe3..aae0035b 100644 --- a/newrelic/newrelic.go +++ b/newrelic/newrelic.go @@ -6,6 +6,7 @@ import ( "github.com/newrelic/newrelic-client-go/v2/pkg/accountmanagement" "github.com/newrelic/newrelic-client-go/v2/pkg/accounts" + "github.com/newrelic/newrelic-client-go/v2/pkg/agent" "github.com/newrelic/newrelic-client-go/v2/pkg/agentapplications" "github.com/newrelic/newrelic-client-go/v2/pkg/alerts" "github.com/newrelic/newrelic-client-go/v2/pkg/apiaccess" @@ -43,6 +44,7 @@ import ( type NewRelic struct { AccountManagement accountmanagement.Accountmanagement AgentApplications agentapplications.AgentApplications + Agent agent.Agent Accounts accounts.Accounts Alerts alerts.Alerts APIAccess apiaccess.APIAccess