1
1
import React from 'react' ;
2
2
import PropTypes from 'prop-types' ;
3
- import { graphql , Link } from 'gatsby' ;
3
+ import { graphql } from 'gatsby' ;
4
4
import { get } from 'lodash' ;
5
5
import Layout from '../components/layout' ;
6
6
import SEO from '../components/seo' ;
@@ -14,8 +14,10 @@ export const query = graphql`
14
14
allProjects(
15
15
filter: {
16
16
projectType: { eq: "newrelic" }
17
- projectTags:
18
- { elemMatch: { slug: { in: ["exporter", "nri", "agent", "sdk", "cli" ] } }
17
+ projectTags: {
18
+ elemMatch: {
19
+ slug: { in: ["exporter", "nri", "agent", "sdk", "cli"] }
20
+ }
19
21
}
20
22
}
21
23
) {
@@ -46,12 +48,22 @@ const InstrumentationPage = ({ data }) => {
46
48
return p ;
47
49
} ) ;
48
50
49
- const exporters = allProjects . filter ( p => p . projectTags . find ( t => t . slug === 'exporter' ) ) ;
50
- const nris = allProjects . filter ( p => p . projectTags . find ( t => t . slug === 'nri' ) ) ;
51
- const sdks = allProjects . filter ( p => p . projectTags . find ( t => t . slug === 'sdk' ) ) ;
52
- const clis = allProjects . filter ( p => p . projectTags . find ( t => t . slug === 'cli' ) ) ;
53
- const agents = allProjects . filter ( p => p . projectTags . find ( t => t . slug === 'agent' ) ) ;
54
- //const opentelemetry = allProjects.filter(p => p.projectTags.find(t => t.slug === 'opentelemetry'));
51
+ const exporters = allProjects . filter ( p =>
52
+ p . projectTags . find ( t => t . slug === 'exporter' )
53
+ ) ;
54
+ const nris = allProjects . filter ( p =>
55
+ p . projectTags . find ( t => t . slug === 'nri' )
56
+ ) ;
57
+ const sdks = allProjects . filter ( p =>
58
+ p . projectTags . find ( t => t . slug === 'sdk' )
59
+ ) ;
60
+ const clis = allProjects . filter ( p =>
61
+ p . projectTags . find ( t => t . slug === 'cli' )
62
+ ) ;
63
+ const agents = allProjects . filter ( p =>
64
+ p . projectTags . find ( t => t . slug === 'agent' )
65
+ ) ;
66
+ // const opentelemetry = allProjects.filter(p => p.projectTags.find(t => t.slug === 'opentelemetry'));
55
67
56
68
return (
57
69
< Layout
@@ -62,7 +74,7 @@ const InstrumentationPage = ({ data }) => {
62
74
< SEO title = "New Relic Open Source Instrumentation" />
63
75
< PageHeading
64
76
title = "New Relic Open Source Instrumentation"
65
- subheader = "Instrument everything, capture complete telemetry, and understand your digital systems better
77
+ subheader = "Instrument everything, capture complete telemetry, and understand your digital systems better
66
78
with our open source instrumentation."
67
79
/>
68
80
< div className = { styles . collectionListingContainer } >
@@ -71,7 +83,8 @@ const InstrumentationPage = ({ data }) => {
71
83
Agents
72
84
</ h4 >
73
85
< p className = { styles . collectionListingHeaderSectionDescription } >
74
- Easily send your telemetry data to New Relic One with our automated instrumentation
86
+ Easily send your telemetry data to New Relic One with our automated
87
+ instrumentation
75
88
</ p >
76
89
</ header >
77
90
< div className = { styles . collectionListing } >
@@ -113,7 +126,8 @@ const InstrumentationPage = ({ data }) => {
113
126
Infrastructure Integrations
114
127
</ h4 >
115
128
< p className = { styles . collectionListingHeaderSectionDescription } >
116
- Extend New Relic's Infrastructure instrumentation across your digital ecosystem
129
+ Extend New Relic's Infrastructure instrumentation across your
130
+ digital ecosystem
117
131
</ p >
118
132
</ header >
119
133
< div className = { styles . collectionListing } >
@@ -130,9 +144,7 @@ const InstrumentationPage = ({ data }) => {
130
144
</ div >
131
145
< div className = { styles . collectionListingContainer } >
132
146
< header className = { styles . collectionListingHeaderSection } >
133
- < h4 className = { styles . collectionListingHeaderSectionHeading } >
134
- SDKs
135
- </ h4 >
147
+ < h4 className = { styles . collectionListingHeaderSectionHeading } > SDKs</ h4 >
136
148
< p className = { styles . collectionListingHeaderSectionDescription } >
137
149
Quickly and easily build custom instrumentation into your software
138
150
</ p >
@@ -151,9 +163,7 @@ const InstrumentationPage = ({ data }) => {
151
163
</ div >
152
164
< div className = { styles . collectionListingContainer } >
153
165
< header className = { styles . collectionListingHeaderSection } >
154
- < h4 className = { styles . collectionListingHeaderSectionHeading } >
155
- CLIs
156
- </ h4 >
166
+ < h4 className = { styles . collectionListingHeaderSectionHeading } > CLIs</ h4 >
157
167
< p className = { styles . collectionListingHeaderSectionDescription } >
158
168
Add New Relic to your automated workflows
159
169
</ p >
0 commit comments