Skip to content

Commit d75f155

Browse files
authored
Merge pull request #8641 from newrelic/daily-release/07-27-2022-evening
daily-release/07-27-2022-evening
2 parents df8fafc + 22438b4 commit d75f155

File tree

15 files changed

+150
-80
lines changed

15 files changed

+150
-80
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"@github-docs/frontmatter": "^1.3.1",
1010
"@mdx-js/mdx": "^2.0.0-next.8",
1111
"@mdx-js/react": "^2.0.0-next.8",
12-
"@newrelic/gatsby-theme-newrelic": "6.8.0",
12+
"@newrelic/gatsby-theme-newrelic": "6.9.2",
1313
"@splitsoftware/splitio-react": "^1.2.4",
1414
"cockatiel": "^3.0.0-beta.0",
1515
"common-tags": "^1.8.0",

src/content/docs/accounts/accounts-billing/new-relic-one-pricing-billing/new-relic-one-pricing-billing.mdx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,6 @@ For how to find billing and usage information in the UI, see [Billing-related UI
5353
If you're on our [original user model](/docs/accounts/original-accounts-billing/original-product-based-pricing/overview-user-models), see [some considerations for managing billable users](/docs/accounts/original-accounts-billing/original-users-roles/users-roles-original-user-model#managing-billable-users).
5454
</Callout>
5555

56-
## Tiered pricing [#tiered-pricing]
57-
58-
Some Pro and Enterprise edition organizations have access to tiered pricing for data and/or billable users. The prices and tier levels will vary depending on an organization's specific contract.
59-
60-
Here's an example of how tiered pricing might work for an organization that has tiered pricing for full platform users:
61-
62-
* Users #1-10 at price x
63-
* Users #11-20 at price y (lower than x)
64-
* Users #21-30 at price z (lower than y)
65-
66-
Note that the billable users in lower tiers remain billable at that tier's cost, regardless of how many other, less expensive tiers are unlocked for subsequent users. In the example above, if the customer has 29 full platform users for the month, then the billable full platform users for the month would be the sum of: a) 10 users multiplied by price x, b) 10 users multiplied by price y, and c) 9 users multiplied by price z.
67-
68-
If you want access to tiered pricing, talk to your account representative.
69-
7056
## Data ingest calculation [#usage-calculation]
7157

7258
Want to understand how data ingest is calculated? See [Data ingest calculation](/docs/accounts/accounts-billing/new-relic-one-pricing-billing/data-ingest-billing).
@@ -86,6 +72,20 @@ A New Relic organization can have one of several types of plans that govern how
8672

8773
For more about how these options can affect your user downgrade rules, see [Downgrade rules](/docs/accounts/accounts-billing/new-relic-one-pricing-billing/user-count-billing#user-downgrade-rules).
8874

75+
## Tiered pricing [#tiered-pricing]
76+
77+
Some Pro and Enterprise edition organizations have access to tiered pricing for data and/or billable users. The prices and tier levels will vary depending on an organization's specific contract.
78+
79+
Here's an example of how tiered pricing might work for an organization that has tiered pricing for full platform users:
80+
81+
* Users #1-10 at price x
82+
* Users #11-20 at price y (lower than x)
83+
* Users #21-30 at price z (lower than y)
84+
85+
Note that the billable users in lower tiers remain billable at that tier's cost, regardless of how many other, less expensive tiers are unlocked for subsequent users. In the example above, if the customer has 29 full platform users for the month, then the billable full platform users for the month would be the sum of: a) 10 users multiplied by price x, b) 10 users multiplied by price y, and c) 9 users multiplied by price z.
86+
87+
If you want access to tiered pricing, talk to your account representative.
88+
8989
## Announcement: removal of estimated cost in May of 2022 [#estimated-cost-removal]
9090

9191
In May of 2022, we removed the current month's estimated cost from the usage UI and from usage-related events. For details, see the [release notes](/docs/release-notes/org-user-mgmt-release-notes/org-users-22-05-01).

src/content/docs/accounts/accounts-billing/new-relic-one-user-management/user-type.mdx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,23 @@ Here's a detailed comparison of capabilities by user type. For tips on why you'd
484484
</td>
485485
</tr>
486486

487+
<tr>
488+
<td>
489+
[Service level management](/docs/service-level-management/intro-slm/)
490+
</td>
491+
492+
<td style="text-align:center"/>
493+
494+
<td/>
495+
496+
<td style="text-align:center">
497+
<Icon
498+
style={{color: '#328787'}}
499+
name="fe-check"
500+
/>
501+
</td>
502+
</tr>
503+
487504
<tr>
488505
<td>
489506
[Infinite Tracing](/docs/distributed-tracing/infinite-tracing/introduction-infinite-tracing) (Pro & Enterprise editions only)

src/content/docs/accounts/original-accounts-billing/original-users-roles/user-migration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Before you start, be sure you've read [the requirements](#requirements) and the
8989
src={userMigrationPage1}
9090
/>
9191

92-
On this page, you'll select the admins you want to migrate. This step will create user records on the new model for the chosen admins and assign them to the **Admin** group. Once done, the chosen admins will have a new user record available upon logging in to New Relic (see image below), and will have access to both the old and new user records until the migration wizard process is completed. The admins you choose here will have the ability to use the migration wizard from their new user record: this may be helpful if you want to choose other team members to finish the migration for you.
92+
On this page, you'll select the admins you want to migrate. This step will create user records on the new model for the chosen admins and assign them to the **Admin** group. Once that's done, those admins will have a new user record available upon logging in to New Relic (see image below), and will have access to both the old and new user records until the migration wizard process is completed. Any admin you migrate at this stage can help you complete the migration wizard: that's one benefit to having the admins migrated first. For any user to access the migration wizard after this step is completed, they must sign in with their new user record: this may require signing out of New Relic and re-accessing the log-in screen so that you can see all the log-in options.
9393

9494
Note that you can always add more admins, or remove and edit existing admins, after you complete the migration process. This may be a reason to bring over many or all your admins now and adjust settings later.
9595

src/content/docs/apis/nerdgraph/examples/async-queries-nrql-tutorial.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ tags:
77
metaDescription: Use New Relic NerdGraph to make asynchronous NRQL queries that have longer query duration limits.
88
---
99

10-
You can use our NerdGraph API to run an asynchronous NRQL query. Once initiated, asynchronous queries run in the background, and clients can make follow-up requests to retrieve query results. This avoids issues like browser or HTTP connection timeouts. Its especially useful for running queries that may take a long time to complete.
10+
You can [use NerdGraph to run NRQL queries](/docs/apis/nerdgraph/examples/nerdgraph-nrql-tutorial). In addition, you can also use NerdGraph to run an asynchronous NRQL query. Asynchronous queries run in the background, and you can make follow-up requests to retrieve query results or the query status. This type of query avoids a query being interrupted by issues like browser timeouts or HTTP connection timeouts. It's especially useful for running queries that may take a long time to complete.
1111

1212
## Requirements [#requirements]
1313

src/content/docs/apm/agents/nodejs-agent/api-guides/nodejs-agent-api.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,11 +762,13 @@ New Relic's Node.js agent includes additional API calls.
762762
```
763763

764764
Use this call if your app is doing its own error handling with domains or try/catch clauses, but you want all of the information about how many errors are coming out of the app to be centrally managed. Unlike other Node.js calls, this can be used outside of route handlers, but it will have additional context if called from within transaction scope.
765+
766+
`error` should be an `Error` or one of its subtypes, but the API will handle strings and objects that have an attached `.message` or `.stack` property.
765767

766768
`customAttributes` is an optional object of any custom attributes to be displayed in the New Relic UI.
767769

768770
<Callout variant="caution">
769-
Errors recorded using this method do not obey the [ignore_status_codes](/docs/agents/nodejs-agent/installation-configuration/nodejs-agent-configuration#error_ignore) configuration value.
771+
Errors recorded using this method do not obey the [`ignore_status_codes`](/docs/agents/nodejs-agent/installation-configuration/nodejs-agent-configuration#error_ignore) configuration value.
770772
</Callout>
771773
</Collapser>
772774

src/content/docs/apm/agents/nodejs-agent/installation-configuration/nodejs-agent-configuration.mdx

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3470,6 +3470,54 @@ For more information about setting up distributed tracing, see [Enable distribut
34703470
</Collapser>
34713471
</CollapserGroup>
34723472

3473+
## gRPC server instrumentation [#grpc_server]
3474+
3475+
The `grpc` section controls the behavior of how the gRPC server is instrumented.
3476+
3477+
3478+
<CollapserGroup>
3479+
<Collapser
3480+
id="record_errors"
3481+
title="record_errors"
3482+
>
3483+
<table>
3484+
<tbody>
3485+
<tr>
3486+
<th>
3487+
Type
3488+
</th>
3489+
3490+
<td>
3491+
Boolean
3492+
</td>
3493+
</tr>
3494+
3495+
<tr>
3496+
<th>
3497+
Default
3498+
</th>
3499+
3500+
<td>
3501+
`true`
3502+
</td>
3503+
</tr>
3504+
<tr>
3505+
<th>
3506+
[Environ variable](#environment)
3507+
</th>
3508+
3509+
<td>
3510+
`NEW_RELIC_GRPC_RECORD_ERRORS`
3511+
</td>
3512+
</tr>
3513+
</tbody>
3514+
</table>
3515+
3516+
When enabled, the agent will send all error gRPC status codes to New Relic, that is, nonzero status codes. If disabled, the server instrumentation will not send any nonzero status codes to New Relic.
3517+
</Collapser>
3518+
</CollapserGroup>
3519+
3520+
34733521
## Span events
34743522

34753523
[Span data](/docs/apm/distributed-tracing/ui-data/span-event) is reported for [distributed tracing](#distributed-tracing). Distributed tracing must be enabled to report spans. Span configuration is set in the `span_events` stanza. Options include:

src/content/docs/data-apis/custom-data/custom-events/apm-report-custom-events-attributes.mdx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ When creating your own custom events and attributes, follow data requirements fo
7676
>
7777
Custom event collection is enabled by default in Java agent version 3.13.0 or higher. To send custom events, call [`recordCustomEvent`](https://newrelic.github.io/java-agent-api/javadoc/index.html?com/newrelic/api/agent/Insights.html). For example:
7878

79-
```
79+
```java
8080
Map<String, Object> eventAttributes = new HashMap<String, Object>();
81-
NewRelic.getAgent().getInsights().recordCustomEvent("<var>MyCustomEvent</var>", <var>eventAttributes</var>);
81+
NewRelic.getAgent().getInsights().recordCustomEvent("MyCustomEvent", eventAttributes);
8282
```
8383

8484
The first argument defines the name of your event type, and the second argument is a map with the attributes for your custom event. Event attributes must be strings or numbers. Ensure you limit the number of unique event type names that you create, and do not generate these names dynamically. For restrictions on event type names, see our documentation about [limits and restricted characters](/docs/telemetry-data-platform/custom-data/custom-events/data-requirements-limits-custom-event-data) and [NRQL reserved words](/docs/insights/event-data-sources/custom-events/data-requirements-limits-custom-event-data/#reserved-words).
@@ -87,14 +87,14 @@ When creating your own custom events and attributes, follow data requirements fo
8787

8888
Specify the maximum number of events to record per minute as an integer. For example, if you want to send less than the default of 10000 events:
8989

90-
```
90+
```yml
9191
custom_insights_events:
9292
max_samples_stored: 5000
9393
```
9494
9595
To disable custom events entirely, add the following to your `newrelic.yml`:
9696

97-
```
97+
```yml
9898
custom_insights_events:
9999
enabled: false
100100
```
@@ -103,7 +103,7 @@ When creating your own custom events and attributes, follow data requirements fo
103103

104104
For Java agent versions prior to 4.1.0, use the following YAML configuration:
105105

106-
```
106+
```yml
107107
custom_insights_events.enabled: true
108108
custom_insights_events.max_samples_stored: 5000
109109
```
@@ -116,7 +116,7 @@ When creating your own custom events and attributes, follow data requirements fo
116116
>
117117
Custom event collection is enabled by default in .NET agent version 4.6.29.0 or higher. To send custom events, simply call [`RecordCustomEvent()`](/docs/agents/net-agent/net-agent-api/recordcustomevent-net-agent). For example:
118118

119-
```
119+
```cs
120120
var eventAttributes = new Dictionary<String, Object>();
121121
NewRelic.Api.Agent.NewRelic.RecordCustomEvent('MyCustomEvent', eventAttributes);
122122
```
@@ -135,8 +135,8 @@ When creating your own custom events and attributes, follow data requirements fo
135135
>
136136
Custom event collection is enabled by default in Node.js agent version 1.15.0 or higher. To send custom events, simply call the relevant API. For example:
137137

138-
```
139-
recordCustomEvent(<var>eventType</var>, <var>attributes</var>)
138+
```js
139+
recordCustomEvent(eventType, attributes)
140140
```
141141

142142
Use recordCustomEvent to record an event-based metric, usually associated with a particular duration. The eventType must be an alphanumeric string less than 255 characters. The attributes must be an object of key and value pairs. The keys must be shorter than 255 characters, and the values must be string, number, or boolean. For restrictions on event type names, see our documentation about [limits and restricted characters](/docs/telemetry-data-platform/custom-data/custom-events/data-requirements-limits-custom-event-data) and [NRQL reserved words](/docs/insights/event-data-sources/custom-events/data-requirements-limits-custom-event-data/#reserved-words).
@@ -153,8 +153,8 @@ When creating your own custom events and attributes, follow data requirements fo
153153
>
154154
Custom event collection is enabled by default in PHP agent version 4.18 or higher. To send custom events, simply call the relevant API function. For example:
155155

156-
```
157-
newrelic_record_custom_event("<var>WidgetSale</var>", array("<var>color</var>"=>"<var>red</var>", "<var>weight</var>"=><var>12.5</var>));
156+
```php
157+
newrelic_record_custom_event("WidgetSale", array("color"=>"red", "weight"=>12.5));
158158
```
159159

160160
The first argument defines the name of your event type, and the second argument is an array with the attributes for your custom event. Ensure you limit the number of unique event type names that you create, and do not generate these names dynamically. For restrictions on event type names, see our documentation about [limits and restricted characters](/docs/telemetry-data-platform/custom-data/custom-events/data-requirements-limits-custom-event-data) and [NRQL reserved words](/docs/insights/event-data-sources/custom-events/data-requirements-limits-custom-event-data/#reserved-words).
@@ -173,8 +173,8 @@ When creating your own custom events and attributes, follow data requirements fo
173173
>
174174
Custom event collection is enabled by default in Python agent version 2.60.0.46 or higher. To send custom events, simply call the relevant API. For example:
175175

176-
```
177-
newrelic.agent.<mark>record_custom_event</mark>(event_type, params, application=None)
176+
```python
177+
newrelic.agent.record_custom_event(event_type, params, application=None)
178178
```
179179

180180
The `event_type` defines the name (or type) of the custom event. Attributes of the custom event should be passed in as a dictionary via the `params` keyword argument. Ensure you limit the number of unique event type names that you create, and do not generate these names dynamically. For limits and restrictions on `event_type` and `params`, see our documentation about [limits and restricted characters](/docs/telemetry-data-platform/custom-data/custom-events/apm-report-custom-events-attributes/) and [reserved words](/docs/insights/event-data-sources/custom-events/data-requirements-limits-custom-event-data/#reserved-words)
@@ -193,8 +193,8 @@ When creating your own custom events and attributes, follow data requirements fo
193193
>
194194
Custom event collection is enabled by default in Ruby agent version 3.9.8.273 or higher. To send custom events, simply call the relevant API. For example:
195195

196-
```
197-
::NewRelic::Agent.record_custom_event('<var>WidgetSale</var>', <var>color</var>: '<var>red</var>', <var>weight</var>: <var>12.5</var>)
196+
```ruby
197+
::NewRelic::Agent.record_custom_event('WidgetSale', color: 'red', weight: 12.5)
198198
```
199199

200200
The first argument defines the name of your event type, and the second argument is a hash with the attributes for your custom event. Ensure you limit the number of unique event type names that you create, and do not generate these names dynamically. For restrictions on event type names, see our documentation about [limits and restricted characters](/docs/telemetry-data-platform/custom-data/custom-events/data-requirements-limits-custom-event-data) and [NRQL reserved words](/docs/insights/event-data-sources/custom-events/data-requirements-limits-custom-event-data/#reserved-words).
@@ -204,7 +204,7 @@ When creating your own custom events and attributes, follow data requirements fo
204204
1. Add [`custom_insights_events.max_samples_stored:`](/docs/agents/ruby-agent/installation-configuration/ruby-agent-configuration#custom_insights_events.max_samples_stored) to your configuration file.
205205
2. Specify the maximum number of events to record per minute as an integer. For example, if you want to be able to send up to 5000 events per minute, add:
206206

207-
```
207+
```yml
208208
custom_insights_events.max_samples_stored: 5000
209209
```
210210

src/content/docs/data-apis/manage-data/calculate-data-ingest.mdx

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
subject: Node.js agent
3+
releaseDate: '2022-07-27'
4+
version: 8.17.0
5+
downloadLink: 'https://www.npmjs.com/package/newrelic'
6+
---
7+
8+
## Notes
9+
10+
* Added [gRPC server instrumentation](/docs/apm/agents/nodejs-agent/installation-configuration/nodejs-agent-configuration#grpc_server).
11+
12+
### Support statement:
13+
14+
* New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach [end-of-life](/docs/using-new-relic/cross-product-functions/install-configure/notification-changes-new-relic-saas-features-distributed-software).

0 commit comments

Comments
 (0)