Skip to content

Latest commit

 

History

History
1973 lines (1656 loc) · 70.4 KB

CHANGELOG.md

File metadata and controls

1973 lines (1656 loc) · 70.4 KB

v2.29.0 - 2024-04-08

Features

  • entities: add KeyTransactionEntity types (manual update)

v2.28.1 - 2024-04-08

Bug Fixes

  • entities: include 'reporting' if part of entity search NRQL query

v2.28.0 - 2024-04-02

Bug Fixes

  • testhelpers: add insights API mock URL to testconfig (#1077)

Features

  • entities: add entity search query helpers

v2.27.0 - 2024-03-20

Bug Fixes

  • Logger string interpolation (#1104)
  • nrdb: update to nrdb query to include more options (#1110)

Features

  • synthetic monitors MUTED status EOL in newrelic-client-go (#1102)
  • dashboards: Added ignore time picker as options field to the dashboard variables (#1106)
  • synthetics: addition of support for next-gen runtime to step, cert check, broken links monitors (#1114)

v2.26.1 - 2024-03-01

Bug Fixes

v2.26.0 - 2024-02-28

Bug Fixes

  • group_management: alter group management queries and add tests (#1103)

Features

  • destinations: expose destination guid (#1096)

v2.25.0 - 2024-02-14

Features

  • user_management: addition of client code to manage users (#1090)

v2.24.0 - 2024-01-31

Features

  • authentication_domains: addition of client code to fetch auth domains (#1086)

v2.23.0 - 2023-12-19

Features

  • synthetics: addition of mutations for the monitor downtime feature (#1070)

v2.22.2 - 2023-11-14

Bug Fixes

  • integration tests (#1064)

v2.22.1 - 2023-11-07

Bug Fixes

  • changetracking: remove customAttributes from response fields to avoid error
  • synthetics_automated_testing: update to schema based on NG updates (#1062)

v2.22.0 - 2023-10-25

Features

  • changetracking: Support custom attributes JSON (#1060)

v2.21.2 - 2023-10-16

Bug Fixes

  • BrowserApplicationEntity: addition of browserProperties fields (#1035)

v2.21.1 - 2023-09-05

Bug Fixes

  • Generate 1 more level depth for Synthetics simple browser (#1057)
  • GenericEntityOutline: addition of tags to attributes returned (#1051)

v2.21.0 - 2023-08-28

Features

  • Add capability id header for all NerdGraph requests (#1049)
  • synthetics: Update device emulation test for Simple Browser monitor synthetics (#1054)

v2.20.0 - 2023-08-01

Features

  • changetracking: add deployment custom attributes (#1047)

v2.19.6 - 2023-07-20

Bug Fixes

  • apiaccess: converted CreatedAt to int64

v2.19.5 - 2023-07-20

Bug Fixes

  • apiaccess: Returning createdAt on keysearch

v2.19.4 - 2023-07-11

Bug Fixes

  • data_partition: fix issue with enable attribute (#1034)

v2.19.3 - 2023-06-19

Bug Fixes

  • dashboards: remove omitempty on widgets to allow creating pages with no widgets (#1033)

v2.19.2 - 2023-06-14

Bug Fixes

  • notifications: add name to filter (#1014)

v2.19.1 - 2023-05-15

Bug Fixes

  • alerts: Removed omitempty from RunbookURL in NrqlConditionUpdateBase (#1030)

v2.19.0 - 2023-05-02

Features

  • cloud: update to queries, types to support azure monitor integration from TF (#1029)

v2.18.1 - 2023-04-18

Bug Fixes

  • dashboards: addition of the attribute zero to DashboardWidgetYAxisLeft

v2.18.0 - 2023-04-18

Bug Fixes

  • dashboard: altering the 'Min' field in DashboardWidgetYAxisLeft (#1020)

Features

  • entity: Add method to support the key transaction entities in client go. (#1019)
  • synthetics: add device emulation functionality (#1017)

v2.17.1 - 2023-04-07

Bug Fixes

  • apiaccess: fix to the error thrown when API Access Key creation fails (#1015)

v2.17.0 - 2023-03-22

Features

  • Update servicelevel schema (#1012)

v2.16.0 - 2023-03-15

Features

  • account_management: added account management api and test cases

v2.15.1 - 2023-03-08

Bug Fixes

  • one_dashboard: added raw configuration properties to one dashboard resource (#1001)

v2.15.0 - 2023-03-07

Bug Fixes

  • EpochTime: fix unmarshal/marshal of empty EpochTime (#997)

Features

  • agentapplication: add ability to manage browser applications (#991)

v2.14.0 - 2023-03-02

Features

  • data_partition: new attribute nrql and updated tests

v2.13.0 - 2023-02-17

Features

  • workflows: expose workflow guid

v2.12.0 - 2023-02-08

Features

  • facilitate additional service names for NewRelic-Requesting-Services request header via env var

v2.11.2 - 2023-02-07

Bug Fixes

  • synthetics: resolved error targeting legacy runtimes

v2.11.1 - 2023-01-25

Bug Fixes

  • tutone: release build

v2.11.0 - 2023-01-18

Features

  • Add evaluation delay to nrql conditions

v2.10.0 - 2023-01-06

Features

  • Remove value_function from NRQL Alert Conditions
  • parsingrule: generated code and tests

v2.9.0 - 2022-12-16

Bug Fixes

  • workflows: fix issue that prevents creation of disabled workflows

Features

  • testgrok: generated code and added tests

v2.8.0 - 2022-12-14

Bug Fixes

  • dashboards: make some fields on variables nullable

Features

  • workflows: support a new flag to optionally disable channel deletion on workflow updates/deletes

v2.7.0 - 2022-12-06

Bug Fixes

  • synthetics_secure_cred: handle null timestamp

v2.6.1 - 2022-12-06

Bug Fixes

  • drop_rules: generated errors from schema 🐛

v2.6.0 - 2022-11-30

Features

  • dashboard: update dashboard entity query with variables

v2.5.0 - 2022-11-30

Features

  • Workflow: Add notification triggers
  • cloud: add newly supported cloud service integrations
  • dashboards: add variables
  • data_pratition_rule: Added Data partition and tests

v2.4.0 - 2022-11-16

Features

  • obfuscation_rule: Added Obfuscation rule and tests

v2.3.0 - 2022-11-10

Features

  • obfuscation_expression: added obfuscation expression

v2.2.2 - 2022-11-04

Bug Fixes

  • workflows: allow to remove enrichments from workflows

v2.2.1 - 2022-11-03

Bug Fixes

  • nrdb: Use actor.queryHistory NG endpoint

v2.2.0 - 2022-10-28

Features

  • add ChangeTracking to NewRelic client

v2.1.0 - 2022-10-25

Features

  • change_tracking: add change tracking create deployment endpoint

v2.0.3 - 2022-10-24

Bug Fixes

  • remove slug field which is causing timeout

v2.0.2 - 2022-10-19

Bug Fixes

  • update module path to have v2
  • alert_conditions: added missing userdef values

v2.0.1 - 2022-10-18

Bug Fixes

  • update module path to have v2

v2.0.0 - 2022-10-17

v1.1.0 - 2022-10-17

Features

  • get workload collection

v1.0.0 - 2022-09-26

Bug Fixes

  • add servicelevel select types as nullables

Features

  • update servicelevel model

v0.91.3 - 2022-09-26

Bug Fixes

  • make some workloads types nullable

v0.91.2 - 2022-09-22

Bug Fixes

  • omit filter ID when empty

v0.91.1 - 2022-09-07

Bug Fixes

  • notifications: add missing destination type via tutone

v0.91.0 - 2022-08-17

Features

  • dashboards: added RawConfiguration structure

v0.90.0 - 2022-08-15

Bug Fixes

  • notifications: fix tests

Features

  • workflows: fix lint
  • workflows: fix intgration tests
  • workflows: fix unit tests + add readme
  • workflows: add workflows API - fix tests
  • workflows: add workflows API

v0.89.1 - 2022-08-15

Bug Fixes

  • notifications: add fileds to error interface

v0.89.0 - 2022-08-01

Features

  • synthetics: generate code for queries synthetics.script and synthetics.steps

v0.88.1 - 2022-07-24

Bug Fixes

  • destinations: change credentials type to pointer

v0.88.0 - 2022-07-15

Bug Fixes

  • channels: add small fix
  • channels: add unit tests
  • channels: add integration tests and destinations missing data

Features

  • channels: remove duplicate declartion
  • channels: remove duplicate code and fix tests
  • channels: add notifications channels API using tutone tool

v0.87.1 - 2022-07-14

Bug Fixes

  • muting_rules: client not setting err.NotFound

v0.87.0 - 2022-07-13

Bug Fixes

  • destinations: add integration tests and unit tests
  • destinations: add integration tests + small fix for union type
  • destinations: use tutone generator
  • destinations: fix lint

Features

  • destinations: fix tests
  • destinations: fix tests
  • notifications: add notifications destinations api calls

v0.86.5 - 2022-07-11

Bug Fixes

  • change private location GUID to string from int

v0.86.4 - 2022-07-08

Bug Fixes

  • remove deprecated field from service level query
  • remove deprecated field from service level query
  • synthetics: use *bool type to avoid removing false values

v0.86.3 - 2022-06-27

Bug Fixes

  • synthetics: use *bool type to avoid removing false values

v0.86.2 - 2022-06-23

Bug Fixes

  • remove deprecated field from service level query

v0.86.1 - 2022-06-15

Bug Fixes

  • remove deprecated field from service level query

v0.86.0 - 2022-06-06

Features

  • http: Add retry condition for graphql TOO_MANY_REQUESTS error response on json

v0.85.0 - 2022-05-24

Features

  • added testing scripts to test synthetic monitors
  • added synthetics monitoring

v0.84.0 - 2022-05-23

Features

  • build: upgrade to Go 1.18

v0.83.0 - 2022-05-23

Features

  • Generate the client code for synthetics private locations

v0.82.0 - 2022-05-23

Features

  • add entitySearch with query parameter

v0.81.0 - 2022-05-23

Documentation Updates

  • add upgrade instructions and update example usage steps

Features

  • dashboards: remove deprecated and disabled legacy dashboards REST API methods

v0.80.0 - 2022-05-12

Features

  • alerts: Adds 3 term threshold operators for NRQL conditions

v0.79.0 - 2022-05-09

Features

  • add synthetics secure credentials GraphQL API

v0.78.0 - 2022-04-28

Features

  • Expose EntityGUID on NRQL Conditions when using NerdGraph.

v0.77.0 - 2022-04-28

Documentation Updates

  • update minimum Go version requirement in development section
  • Update example in readme to compile and run with v0.73.0

Features

  • Expose EntityGUID on NRQL Conditions.

v0.76.0 - 2022-04-26

Features

  • build: compile on Go 1.17.x

v0.75.0 - 2022-04-13

Features

  • errors: handle 402 payment required HTTP response scenario

v0.74.2 - 2022-03-23

Bug Fixes

  • use correct input type for cloud disable integrations mutation

v0.74.1 - 2022-03-04

Bug Fixes

  • remove integrations from getLinkedAccounts query

v0.74.0 - 2022-03-03

Features

  • auth: Add X-Account-ID header if value exists in request context

v0.73.0 - 2022-02-09

Features

  • entities: add new entity types

v0.72.0 - 2022-02-01

Features

  • nrql_conditions: add optional SlideBy field to signal

v0.71.0 - 2022-01-25

Features

  • cloud: add query to get a single linked account

v0.70.0 - 2022-01-19

Features

  • installevents: add recipe event metadata field, update mutation via tutone

v0.69.0 - 2021-12-28

Features

  • events: Add license key authorization for the Event API

v0.68.3 - 2021-12-03

Bug Fixes

  • dashboards: make billboard widget thresholds optional, add test cases around them

v0.68.2 - 2021-12-03

Bug Fixes

  • entities: handle deprecated field errors in tests
  • http: check if the NerdGraph error is a deprecation warning, and still pass on the response (with error)

v0.68.1 - 2021-11-29

Bug Fixes

  • release: use our changelog for release notes

v0.68.0 - 2021-10-22

Features

  • use improved error handling for muting rules

v0.67.0 - 2021-10-21

Features

  • tags: added method to get only mutable tags

v0.66.2 - 2021-10-21

Bug Fixes

  • update NRQL query for alert condition tests

v0.66.1 - 2021-10-07

Bug Fixes

  • use pointer for EvaluationOffset

v0.66.0 - 2021-10-06

Features

  • Provide additional context in GraphQL errors for Alerts operations

v0.65.0 - 2021-10-05

Features

  • alerts: streaming triggers for nrql alerts

v0.64.1 - 2021-09-28

Bug Fixes

  • add spell check for auto-generated CHANGELOG.md
  • let goreleaser generate the release notes. git-chglog for CHANGELOG

v0.64.0 - 2021-09-28

Features

  • install: add DETECTED status via code gen

v0.63.5 - 2021-09-27

Bug Fixes

  • build: more error checking in the release script

v0.63.4 - 2021-09-24

Bug Fixes

  • release test

v0.63.3 - 2021-09-24

Bug Fixes

  • release test
  • release test

v0.63.2 - 2021-09-23

Bug Fixes

  • release test

v0.63.1 - 2021-09-23

Bug Fixes

  • add additional output to verify release tag info
  • update to correct current version in version.go
  • use all branches for tag-mode to get current and next tag with svu
  • release test
  • release test
  • release test
  • release
  • servicelevel: Update code gen strategy

v0.63.0 - 2021-09-21

Bug Fixes

  • servicelevel: avoid import cycle
  • servicelevel: Initialize service level API with config

Features

  • servicelevel: update code gen strategy
  • servicelevel: generate servicelevel API

Refactor

  • move EntityGUID to a common package

v0.62.1 - 2021-08-04

Bug Fixes

  • update error handling to reflect schema changes

v0.62.0 - 2021-08-03

Bug Fixes

  • override ID type as string

Features

  • add installstatus schema for install-events-service

Refactor

  • delete installationeventresult if statement

v0.61.4 - 2021-07-28

Bug Fixes

  • update error handling code for alert policies

v0.61.3 - 2021-07-28

Bug Fixes

  • retire usages of deprecated error schema

v0.61.2 - 2021-07-22

Bug Fixes

  • logging: export LogrusLogger for use in other projects

v0.61.1 - 2021-07-20

Bug Fixes

  • dashboard: skip DashboardBillboardWidgetThresholdInput not DashboardBillboardWidgetConfigurationInput

Refactor

  • tutone: Add error wrapping to mutation results

v0.61.0 - 2021-07-13

Bug Fixes

  • type for validation duration
  • dashboard: Linked entities must be the page GUID, update the test

Features

  • Error: Add InvalidInput error
  • installevents: start package to track install-events-service

v0.60.2 - 2021-06-29

v0.60.1 - 2021-06-28

Features

  • apiaccess: add context-aware methods for insights keys
  • entity: Add EntityInterface.GetTags()
  • events: add context-aware method to event creation method

Refactor

  • workloads: Generate workload code, deprecate old functions

v0.60.0 - 2021-06-11

Bug Fixes

  • client: remove over-strict cast

Features

  • add context-aware methods

v0.59.4 - 2021-06-10

Bug Fixes

  • dashboards: remove goldenTags from dashboard query

v0.59.3 - 2021-06-10

Bug Fixes

  • dashboards: remove goldenMetrics from dashboard query

v0.59.2 - 2021-06-10

Bug Fixes

  • apm: remove applicationsREST unused funcs
  • http: Look inside response body for downstream NotFound errors

Features

  • apm: allow passing context to apm methods
  • apm: allow passing context to applicationsREST funcs

v0.59.1 - 2021-05-24

Bug Fixes

  • region: fix insights key management api url

v0.59.0 - 2021-05-13

Features

  • apiaccess: add methods for managing insights insert keys
  • serialization: Add Unix() command to EpochTime

v0.58.5 - 2021-04-27

Bug Fixes

  • graphql: retry on server errors

v0.58.4 - 2021-04-15

Bug Fixes

  • cloud: regenerate types
  • synthetics: add paging to monitors resource

v0.58.3 - 2021-02-19

Bug Fixes

  • dashboards: return an error.NotFound instead of nil

v0.58.2 - 2021-02-18

Bug Fixes

  • dashboards: Prevent nil dereference on GetDashboardEntity

v0.58.1 - 2021-02-17

Bug Fixes

  • dashboards: Return rawConfiguration on get, needed for all viz types
  • nrqldroprules: Actually return Nrqldroprules client
  • region_constants: corrected insightsBaseURL for EU

Features

  • alerts: adding id to alertsMutingRulesQuery

v0.58.0 - 2021-02-12

Bug Fixes

  • typegen: do not attempt to unmarshal null data

Features

  • nrqldroprules: Implement NrqlDropRules

Refactor

  • Update all code-gen unmarshals with new typegen template

v0.57.2 - 2021-02-01

Refactor

  • alerts: remove omitEmpty from MutingRuleScheduleUpdateInput

v0.57.1 - 2021-01-29

Refactor

  • Tutone auto-naming conflict with schema
  • EpochTime as a pointer to allow for null value in JSON unmarshaling

v0.57.0 - 2021-01-27

Bug Fixes

  • dashboards: MANUAL CHANGE: remove queries until it is out of the schema

Features

  • users: Add users package, and replace references in existing packages
  • users: Add users package

v0.56.2 - 2021-01-22

Bug Fixes

  • dashboard: Fetch permalink for dashboards

v0.56.1 - 2021-01-22

Bug Fixes

  • http: fix panics when resp is nil

Refactor

  • testhelpers: Remove hard-coded TestAccountID

v0.56.0 - 2021-01-22

Bug Fixes

  • http: display underlying errors on max retries

Features

  • alerts: Add muting rule schedule fields
  • dashboards: add linkedEntities to getDashboardEntityQuery

v0.55.8 - 2021-01-15

Refactor

  • dashboards: Use nrqlQueries in place of queries

v0.55.7 - 2021-01-15

v0.55.6 - 2021-01-15

v0.55.5 - 2021-01-14

Bug Fixes

  • entities: unmarshal Minutes as an int

v0.55.4 - 2021-01-13

Bug Fixes

  • http: move logger initialization to NewClient()

v0.55.3 - 2021-01-12

Bug Fixes

  • dashboards: remove manual changes so code generation works again

v0.55.2 - 2021-01-11

Bug Fixes

  • http: slightly better error message for 401 status code

v0.55.1 - 2021-01-11

Bug Fixes

  • dashboards: DashboardWidgetConfigurationInput needs to be nullable

v0.55.0 - 2021-01-05

Features

  • entities: Add more methods to Entity(Outline)Interface

v0.54.1 - 2021-01-05

v0.54.0 - 2021-01-04

Features

  • entities: Generate Getter helpers for EntityInterfaces

Refactor

  • entities: change the get functions to not be on ptrs

v0.53.0 - 2020-12-28

Bug Fixes

  • entities: DashboardWidgetRawConfiguration custom unmarshal as []byte (raw JSON)
  • entities: Force ID fields to be a string
  • nerdgraphclient: Template fixes to prevent nil pointers
  • typegen: Avoid nil pointer on custom UnmarshalJSON

Features

  • dashboards: Add GetDashboardEntity()
  • dashboards: Auto-generate GraphQL code for dashboards (early access)
  • entities: Code-gen tag mutations
  • entities: Mostly code generated Entities queries (entities/entity/entitySearch)

Refactor

  • Add omitempty to nullable and input objects for all packages
  • Selective generation on type in Entities, Infrastructure, and NerdStorage
  • DRY up some of the time based items into nrtime
  • cloud: Cloud auto-generating via tutone
  • entities: Cleanup unused structs in entities
  • entities: DRY up Nrdb from Entities
  • typegen: If we override a type to be in another package, properly generate the Unmarshal func call

v0.52.0 - 2020-12-08

Bug Fixes

  • typegen: Avoid nil pointer on unmarshall

Features

  • accounts: Add AccountReference
  • nrql_conditions: add violation_time_limit_seconds

v0.51.0 - 2020-12-01

Features

  • alerts: allow passing context to alerts methods
  • nerdgraph: allow passing context to underlying client
  • nrdb: allow passing context to nrdb query methods

v0.50.0 - 2020-11-20

Features

  • nerdgraph: allow custom unmarshal structs for queries

v0.49.0 - 2020-11-13

Bug Fixes

  • graphql: include downstream error retry condition

Features

  • config: add a local region

v0.48.1 - 2020-11-10

Bug Fixes

  • http: include INTERNAL_SERVER_ERROR as a retry reason
  • muting_rules: ensure updates to disable rule are respected

v0.48.0 - 2020-11-04

Bug Fixes

  • cloud: manually update generated code to fix cloud account methods

Documentation Updates

  • cloud: add cloud account resource example

Features

  • cloud: add cloud domain to client API

v0.47.3 - 2020-10-28

Bug Fixes

  • apm: add extra comments
  • apm: fix linting error
  • apm: add backwards compatible fix and test

v0.47.2 - 2020-10-27

Bug Fixes

  • alerts: don't omitempty for muting rule's enabled field

v0.47.1 - 2020-10-23

Bug Fixes

  • alerts: remove pagination from ListMultiLocationSyntheticsConditions
  • http: include 500 errors in reasons to retry requests

v0.47.0 - 2020-10-16

Features

  • http: retry on nerdgraph server timeout

v0.46.0 - 2020-10-15

Bug Fixes

  • alerts: make error handling more resilient for alert policies
  • build: update changelog action for improved standards
  • build: use DTK token for auto-PR process
  • edge: trace observer schema updates

Documentation Updates

  • update changelog

Features

  • cloud: include initial cloud client support

v0.45.0 - 2020-10-05

Documentation Updates

  • update changelog

Features

  • nrql alert condition: add signal.aggregation_window

v0.44.0 - 2020-10-02

Documentation Updates

  • update changelog

Features

  • remove admin API key as an authentication mechanism
  • application_instances: add an application instance resource

v0.43.0 - 2020-10-01

Documentation Updates

  • update changelog

Features

  • synthetics: change resources to use personal api keys

v0.42.1 - 2020-09-30

Bug Fixes

  • events: dereference the data pointer

Documentation Updates

  • update supported Go information and test config

v0.42.0 - 2020-09-23

Features

  • alerts: enable personal api key auth for infra conditions

v0.41.2 - 2020-09-16

Refactor

  • alerts: remove widespread change, limit scope to only nrql condition error resp handling

v0.41.1 - 2020-09-15

Bug Fixes

  • http: handle 'not found' downstream response

v0.41.0 - 2020-09-11

Bug Fixes

  • entities: filter out read-only tag values

Features

  • logs: support insert key

v0.40.0 - 2020-09-04

Features

  • alerts: add new fields 'expiration' and 'signal' to nrql_conditions

v0.39.0 - 2020-08-27

Features

  • logs: implement log batch mode
  • logs: implement log batch mode

v0.38.0 - 2020-08-25

Bug Fixes

  • changelog: drop reviewers and assignees

Documentation Updates

  • update changelog

Features

  • logs: Implement Log API

v0.37.0 - 2020-08-20

Features

  • apiaccess: add search api access keys method

v0.36.0 - 2020-08-20

Features

  • apiaccesskeys: add new api access keys package

v0.35.1 - 2020-08-03

Bug Fixes

  • newrelic: Allow just an insert key for the newrelic package

v0.35.0 - 2020-08-03

Features

  • events: Batch event insertion

v0.34.0 - 2020-07-30

Bug Fixes

  • alerts: infra condition threshold value should be pointer to support zero-value thresholds
  • alerts: always send infra condition description even if its an empty string
  • region: make ConfigRegion case-insensitive

Documentation Updates

  • update README.md

Features

  • graphql: capture validation error output from response

v0.33.2 - 2020-07-27

Bug Fixes

  • alerts: infra condition threshold value should be pointer to support zero-value thresholds

v0.33.1 - 2020-07-24

Bug Fixes

  • alerts: always send infra condition description even if its an empty string

v0.33.0 - 2020-07-23

Bug Fixes

  • fix http client compression
  • build: run generate-tutone once per make command

Features

  • add a custom event resource
  • alerts: add description field to infra alert condition

v0.32.1 - 2020-07-17

Bug Fixes

  • accounts: add accounts API to client
  • nrql_conditions: proper zero-value marshalling for threshold

v0.32.0 - 2020-07-10

Features

  • accounts: add an accounts resource
  • synthetics: add a monitor locations resource

v0.31.3 - 2020-07-02

Bug Fixes

  • alerts: allow a value of 0 for NRQL condition thresholds

v0.31.2 - 2020-07-01

Bug Fixes

  • alerts: better nerdgraph operator usage

v0.31.1 - 2020-06-26

Bug Fixes

  • alerts: drop incorrect MonitorID flag from MultiLocationSyntheticsCondition

v0.31.0 - 2020-06-18

Bug Fixes

  • add goreleaser back
  • remove goreleaser

Features

  • entities: surface underlying application IDs for mobile application entities
  • eventstometrics: add EventsToMetrics

v0.30.2 - 2020-06-15

Bug Fixes

  • nrdb: Add String() to Epoch* types
  • serialization: set tz UTC on MarshalJSON
  • serialization: Fix nanosecond handling, set tz UTC, add EpochTime.String()

v0.30.1 - 2020-06-12

Bug Fixes

  • deps: revert goreleaser v0.138.0 (causing import issues)

v0.30.0 - 2020-06-12

Features

  • nrdb: Fetch nrql query history

v0.29.1 - 2020-06-10

Bug Fixes

  • nrdb: Correctly unwrap the graphql context for Query, better testing

v0.29.0 - 2020-06-10

Bug Fixes

  • nerdgraph: Add omitempty for yaml output
  • typegen: Remove some overrides so types are generated without modifications

Features

  • nrdb: Add nrdb.Query(acct, NRQL) via NerdGraph
  • typegen: Add imports to typegen

v0.28.1 - 2020-06-03

Bug Fixes

  • alerts: add missing Outlier type to condition NrqlConditionTypes enum

v0.28.0 - 2020-06-03

Bug Fixes

  • alerts: rename NrqlConditionTerms to singular for accuracy

Features

  • alerts: add DeleteNrqlConditionMutation as a proxy to DeleteConditionMutation
  • alerts: add UpdateNrqlConditionOutlierMutation method for updating outlier NRQL alert conditions
  • alerts: add CreateNrqlConditionOutlierMutation method for creating outlier NRQL alert conditions

Refactor

  • nrql_conditions: conditionID should be a string for consistency in ng implementation

v0.27.1 - 2020-05-29

Bug Fixes

  • serialization: EpochTime handling of Unix timestamp with milliseconds

Refactor

  • alerts: update NG-based condition IDs to string type

v0.27.0 - 2020-05-28

Refactor

  • alerts: update NG-based policy and condition IDs to string types

v0.26.0 - 2020-05-27

Bug Fixes

  • http: Use default User-Agent header if none provided
  • http: Refactor config.Compression and use it in http

Features

  • http: Enable compression handling for requests, consolidate POST methods
  • region: Add Insights insert API URLs

v0.25.1 - 2020-05-20

Bug Fixes

  • alerts: fix json tag for NrqlConditionInput.ValueFunction

v0.25.0 - 2020-05-20

Features

  • enable APIKS auth for alerts and plugins packages
  • alerts: add nerdgraph-based alert condition deletion

v0.24.1 - 2020-05-19

Bug Fixes

  • apm: don't return empty zero values for floats for MetricTimesliceValues which can be misleading
  • apm: adjust MetricDataParams json tags to support query params as arrays

v0.24.0 - 2020-05-15

Features

  • edge: add trace observer resource

v0.23.4 - 2020-05-13

Bug Fixes

  • alerts: allow blank runbook URL to be sent

v0.23.3 - 2020-05-12

Bug Fixes

  • workloads: fix query type for entity guid

v0.23.2 - 2020-05-11

Bug Fixes

  • alerts: Updating incorrect AlertEvents params
  • region: gracefully fall back to default region

v0.23.1 - 2020-05-04

Bug Fixes

  • alerts: Alerts paging was incorrectly generating URLs

v0.23.0 - 2020-05-01

Bug Fixes

  • build: Github actions make lint for commit messages need full history
  • workloads: Removing deprecated field name from entitySearchQuery

Documentation Updates

  • typegen: Add a README for typegen

Features

  • events: add alert events

Refactor

  • build: Split up github actions a bit
  • typegen: Split/refactor much of typegen internals

v0.22.0 - 2020-04-23

Bug Fixes

  • alerts: include "equal" operator for NRQL condition terms

Features

  • dashboards: add grid_column_count field

Refactor

  • workloads: query with GUID per upstream API change

v0.21.1 - 2020-04-15

Bug Fixes

  • alerts: return a NotFound error when policies are not found in NerdGraph

Refactor

  • workloads: remove deprecated fields

v0.21.0 - 2020-04-06

Bug Fixes

  • build: goreleaser now supports libraries, remove hack in config, skip build

Features

  • typegen: handle scalar types

Refactor

  • alerts: Update go:generate for types signature
  • newrelic: Continue to fail, do not log invalid region
  • region: Better error types/more tests
  • region: Split parsing / fetching of region data so Parse can be reused
  • typegen: Filter internal context off of generated descriptions if present
  • typegen: Break out some structs
  • typegen: Move all schema generation stuff into typegen

v0.20.1 - 2020-04-01

Bug Fixes

  • alerts: use pointers for the result struct

Refactor

  • nerdstorage: check scope ID for zero values during nerdstorage operations

v0.20.0 - 2020-03-31

Bug Fixes

  • alerts: include missing types to generate
  • nrql_conditions: fix spelling errors, fix types
  • region: Better URL building
  • typegen: ensure we also generate non-input fields
  • typegen: ensure handling of slice/LIST types
  • typegen: default to resolving nested types

Documentation Updates

  • README: Update example in README, closes #225
  • nerdstorage: add examples

Features

  • alerts: implement NerdGraph policy search
  • internal: add additional error context to graphQLError
  • nerdstorage: add a nerdstorage package and resource
  • region: Add a region package
  • typegen: handle types of Kind OBJECT

Refactor

  • alerts: fix alerts tests
  • alerts: Move FQDN/URL creation into package, out of http client for REST
  • apm: Move FQDN/URL creation into package, out of http client for REST
  • apm: Update apm tests
  • config: Remove unused config fields
  • config: Add new func for config
  • config: Migrate Region to pkg/region
  • dashboards: Move FQDN/URL creation into package, out of http client for REST
  • dashboards: Update dashboard tests
  • entities: Update entities tests
  • http: introduce a request-scoped API for NerdGraph queries
  • http: Move HTTP client to use new region format
  • http: Remove assumption that we are talking to a REST endpoint
  • nerdgraph: Update nerdgraph tests
  • plugins: Move FQDN/URL creation into package, out of http client for REST
  • plugins: Update plugin tests
  • region: Change access to config.Region to ensure it exists
  • synthetics: Update synthetics tests
  • synthetics: Move FQDN/URL creation into package, out of http client for REST
  • typegen: Convert to using go generate to run typegen, make generate to test
  • workloads: Update workloads tests

v0.19.0 - 2020-03-25

Bug Fixes

  • alerts: policy update response test
  • workloads: remove nullable struct fields unless necessary

Features

  • alerts: add search method for NRQL conditions
  • alerts: add get method for query NRQL conditions
  • alerts: add update methods for baseline and static NRQL conditions
  • alerts: add create methods for baseline and static NRQL conditions
  • nerdgraph: begin generating structs from schema

Refactor

  • alerts: consolidate Nrql condition structs for better reusability

v0.18.0 - 2020-03-20

Bug Fixes

  • workloads: fix some bugs in the workloads implementation
  • workloads: export the workloads API via the newrelic package

Features

  • alerts: implement muting rules

v0.17.1 - 2020-03-18

Bug Fixes

  • alerts: add custom unmarshaling for ConditionTerm
  • workloads: use epoch time for EntitySearchQuery.CreatedAt

v0.17.0 - 2020-03-17

Bug Fixes

  • workloads: map non-nullable fields to structs correctly

Documentation Updates

  • alerts: add package-level documentation and examples
  • apm: add package-level documentation and examples
  • client: add synopses for all packages
  • config: add package-level documentation
  • dashboards: add package-level documentation and examples
  • entities: add package-level documentation and examples
  • errors: update package-level documentation
  • infrastructure: add package-level documentation
  • nerdgraph: add package-level documentation and examples
  • newrelic: use single-letter vars for receivers
  • newrelic: add package-level documentation and examples
  • plugins: add package-level documentation and examples
  • synthetics: add package-level documentation and examples

Features

  • alerts: implement graphql policy methods
  • workloads: add update operation, rework integration test scenario
  • workloads: add delete and duplicate mutations
  • workloads: add a workload create operation
  • workloads: add a workloads resource, list and get methods

Refactor

  • alerts: Fix lint issue
  • alerts: add types for fields with known values
  • apm: Move Application REST implementation, use interface
  • dashboards: add types for fields with known values
  • http: Move NewRequest, have it follow New* func format
  • http: Move graphql code out to file
  • http: Make all fields private, add some setters/getters, more tests
  • http: Consolidate GraphQL client, rename to http.Client
  • http: Move GraphQL into http.NewRelicClient as Query()

v0.16.0 - 2020-03-11

Bug Fixes

  • build: Force pull tags after each checkout

Documentation Updates

  • update community support information

Features

  • entities: Add some more details from BrowserApplicationEntity
  • entities: Return more data on ApmApplicationEntity, and be consistent in what we return between fetch and search

Refactor

  • entities: Change Entity.Type type... Add more to the ENUMs

v0.15.0 - 2020-03-09

Bug Fixes

  • apm: remove unused field
  • build: Remove working dir config for CircleCI
  • http: allow overriding of service name

Refactor

  • alert_conditions: remove transient PolicyID from struct for consistency with API response
  • alerts: use consistent types for incident timestamp fields
  • build: Make the build system consistent with other projects
  • nrql_conditions: remove transient PolicyID from struct for consistency with API response
  • plugins_conditions: remove transient PolicyID from struct for consistency with API response

v0.14.0 - 2020-03-05

Features

  • newrelic: add types for fields with well known values

v0.13.0 - 2020-03-03

Bug Fixes

  • entities: include applicationId for ApmApplicationEntity results
  • entities: Make ApplicationID optional in results, omit if not returned by the API
  • http: create a new errorValue for every request

Refactor

  • apm: refactor deployments resource to use new auth strategy
  • http: refactor client to a request-scoped config context

v0.12.0 - 2020-02-28

Bug Fixes

  • docs: Fix the release badge

Features

  • nerdgraph: implement ability to make raw graphql query

Refactor

  • alerts: Move structs into implementing files
  • apm: Move structs into implementing files
  • config: BREAKING CHANGE: Change environment vars and rename APIKey to AdminApiKey
  • dashboards: Move structs into implementing files
  • entities: Move structs into implementing files
  • synthetics: Move structs into implementing files

v0.11.0 - 2020-02-27

Features

  • http: allow personal API keys to be used for alerts and APM resources

Refactor

  • http: refactor authentication out of http client

v0.10.1 - 2020-02-20

Bug Fixes

  • entities: tags filter needs to use type TagValue in graphql query
  • newrelic: Add option to set ServiceName in Config

v0.10.0 - 2020-02-19

Features

  • ci: add release make target
  • ci: the beginnings of some release automation
  • synthetics: add secure credentials resource
  • synthetics: implement label monitor support

v0.9.0 - 2020-02-05

Bug Fixes

  • allow string representations of JSON for alert channel webhook and payload
  • http: Clear client responses between pages

Features

  • alerts: Implement multi-location synthetics conditions
  • http: add trace logging with additional request info

v0.8.0 - 2020-01-29

Bug Fixes

  • alerts: ensure multiple channels can be added via /alerts_policy_channel.json endpoint (#114)

Features

  • apm: Add support application metric names and data

v0.7.1 - 2020-01-24

Bug Fixes

  • alerts: handle more complex JSON structures in headers and/or payload
  • logging: use global methods for the default logger rather than a logrus instance

Refactor

  • entities: rename SearchEntities params struct per convention
  • newrelic: remove reference to pointer for http transport config

v0.7.0 - 2020-01-23

Features

  • newrelic: add ConfigOptions for logging
  • newrelic: add the ability to configure base URLs per API

Refactor

  • newrelic: incorporate code review feedback

v0.6.0 - 2020-01-22

Features

  • alerts: add GetSyntheticsCondition method (#105)

v0.5.1 - 2020-01-21

Bug Fixes

  • alerts: custom unmarshal of channel configuration Headers and Payload fields (#102)

v0.5.0 - 2020-01-16

Documentation Updates

  • newrelic: update API key configuration documentation

Refactor

  • newrelic: validate that at least one API key is provided

v0.4.0 - 2020-01-15

Bug Fixes

  • retry HTTP requests on 429 status codes

Features

  • entities: add entities search and entity tagging

Refactor

  • update test helpers to use new mock server, consistent patterns in tests

v0.3.0 - 2020-01-13

Bug Fixes

  • make use of ErrorNotFound type for Get methods that are based on List methods
  • add policy ID to alert condition

Documentation Updates

  • update example
  • build: Update README for commit message format
  • changelog: Add auto-generation of CHANGELOG from git comments via make changelog

Features

  • add top-level logging package for convenience
  • add option for JSON logging and fail gracefully when log level cannot be parsed
  • introduce logging
  • update monitor scripts with return design pattern, update tests

Refactor

  • update monitors to use return design pattern where applicable, update tests
  • consistent use of pointers for &reqBody structs
  • move logging config code into logging package
  • use centralized test helpers and remove old ones
  • update ListDashboards to return array of pointers, update Dashboard test to use assert
  • update ListApplications to return array of pointers, update tests to use assert
  • refactor to package-based types files
  • remove config pointer references
  • remove unnecessary else
  • rescope vars for integration tests to avoid variable name conflicts
  • update alert channels to return array of pointers, update tests to use assert
  • update synthetics conditions to return array of pointers
  • create a logger instance per package
  • remove redundant 'alert' from file names
  • remove redundant 'Alert' from naming convention
  • incorporate code review feedback
  • update alerts incidents to follow return design pattern, parallelize and use assert lib in alert incidents tests
  • use require lib for dashboards integration tests
  • alerts: Update mock server format, continue to have pkg helper
  • alerts: Spike example of changes to the mock setup
  • config: Change Region to a string, then parse with region package
  • newrelic: Extract config setting to opts ... format
  • region: Move region out of config into package, add Parse(string)

v0.2.0 - 2020-01-08

Documentation Updates

  • update readme example

v0.1.0 - 2020-01-07

Bug Fixes

  • rename variables to fix redeclared error
  • update unit tests to use new method sigs
  • fix monitor ID type and GetMonitor URL
  • http client needs to handle other 'success' response status codes such as 201
  • add godoc as a dep, and a warning about GOPATH and godoc
  • fix paging bug for v2 API
  • lint: formatting fixes for linter

Documentation Updates

  • add alerts package docs
  • temporarily checking in broken import paths in generated markdown docs
  • add inline documentation
  • add badges to README
  • fill in missing inline documentation
  • document some methods

Features

  • add DeletePluginCondition
  • add CreatePluginCondition
  • add UpdatePluginCondition
  • add GetPluginCondition
  • add ListPluginsConditions
  • encode monitor script text
  • add ability to use 'detailed' query param in ListPlugins method
  • add GetPlugin
  • add ListPlugins
  • publicly expose error types
  • finish components endpoints
  • add Components
  • add internal utils package, move IntArrayToString() util to new home
  • add integration tests for key transactions
  • add query param filters for ListKeyTransactions
  • add GetKeyTransaction
  • add ListKeyTransactions
  • add DeleteLabel
  • add CreateLabel
  • add ListLabels, add GetLabel
  • add DeleteDeployment
  • add CreateDeployment
  • add ListDeployments
  • centralize apm test helpers
  • add DeleteNrqlAlertCondition
  • add UpdateNrqlAlertCondition
  • add CreateNrqlAlertCondition
  • add GetNrqlAlertCondition
  • add ListNrqlAlertConditions
  • add UpdateAlertPolicy
  • add DeleteAlertCondition
  • add CreateAlertCondition
  • add GetAlertCondition
  • add ListAlertConditions
  • get infra condition integration tests passing
  • add InfrastructureConditions
  • add MonitorScripts
  • add MonitorScript
  • add DeleteAlertPolicyChannel, update unit tests, add integration test (might need to remove this)
  • add alert policy channels
  • add synthetics alert conditions
  • add synthetics alert conditions
  • add GetAlertChannel method
  • add CreateAlertChannel, ListAlertChannels, DeleteAlertChannel
  • add DeleteMonitor
  • add UpdateMonitor
  • add CreateMonitor
  • add dashboards
  • add DeleteAlertPolicy method
  • add UpdateAlertPolicy method
  • add CreateAlertPolicy method
  • add GetAlertPolicy method
  • add ListAlertPolicies method
  • alerts package
  • create remaining CRUD methods for application resource
  • add new dependency-free client implementation
  • add version.go per auto-versioning docs
  • add ListAlertConditions for infrastructure
  • add infra namespace
  • add catchall newrelic package
  • add New Relic environment enum
  • maximize page size for ListMonitors
  • add ListMonitors method for Synthetics monitors
  • add application filtering for ListApplications
  • get TestListApplications passing

Refactor

  • updates per code review
  • use proper noun Plugins in naming convention
  • update key txns to use new query string parsing mechanism
  • simplify integration test scenarios for components
  • move components to the plugins package
  • move query string parsing to an external package
  • represent query params as a struct rather than a map
  • return slices of pointers instead of slices of structs
  • simplify parameter handling logic
  • optimize IntArrayToString() per review, add test cases
  • add integration tests, update unit tests, links should be a pointer for omission
  • Makefile cleanup
  • optimize pushing to array of pointers
  • refactor synthetics conditions to established patterns
  • refactor alerts package to established patterns
  • refactor synthetics package to established patterns
  • update local var names for consistency
  • update Epoch to EpochTime
  • remove redundant 'Alert' from naming convention
  • remove pointer from AlertChannelConfiguration
  • utilize testify assert library, other minor refactors
  • refactor unit tests to use testify assertions
  • add concrete types for field with known possible values
  • use Epoch type for date types instead of int64
  • consolidate request body structs into one alertPolicyRequestBody
  • no pointers for param fields
  • integrate new http client
  • simplify HTTP method signatures
  • add the remaining HTTP methods
  • rename the new client types
  • remove the old resty-based client
  • put new client in place for all resources
  • make ListApplications use the new client
  • move version into its own internal package for now
  • incorporate linter suggestions
  • clean up the configuration API for NewRelicClient
  • restructuring project files
  • extract cross cutting concern for apm resources
  • extract paging implementation
  • rename packages for clarity, promote Config to the public package