-
Notifications
You must be signed in to change notification settings - Fork 0
/
newrelic.xsd
1248 lines (1125 loc) · 47.9 KB
/
newrelic.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<!-- The documentation in here must be kept up to date with that embedded in comments in newrelic.config -->
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="urn:newrelic-config" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:nr="Configuration.xsd">
<xs:element name="configuration">
<xs:complexType>
<xs:all>
<xs:element name="service" minOccurs="1" maxOccurs="1">
<xs:complexType>
<xs:annotation>
<xs:documentation>
This section configures the agent to connect to the New Relic service.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="proxy" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Proxy settings for connecting to the New Relic service.
If a proxy is used, then the host attribute is required.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="host" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The proxy server host name.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="port" type="xs:int" default="8080">
<xs:annotation>
<xs:documentation>
The proxy server port (optional - defaults to 8080).
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="user" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The username used to authenticate with the proxy server (optional).
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="password" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The password used to authenticate with the proxy server (optional).
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="domain" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The domain used to authenticate with the proxy server (optional).
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="sendEnvironmentInfo" type="xs:boolean" default="true">
<xs:annotation>
<xs:documentation>
Send execution environment information back to the RPM.
This includes information about the O/S; which version of the agent is used; information about all of the assemblies available at the time the environment information is captured.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="licenseKey" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
You must specify the license key associated with your New Relic account.
This key binds your agent's data to your account in the New Relic service.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="host" type="xs:string" default="collector.newrelic.com">
<xs:annotation>
<xs:documentation>
The name of the collector host within newrelic.com where the agent is to send its data.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="port" type="xs:int" use="optional">
<xs:annotation>
<xs:documentation>
The port number on the collector host to talk to.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ssl" type="xs:boolean" default="true">
<xs:annotation>
<xs:documentation>
The agent communicates with the New Relic service via http by default.
If you want to communicate via https to increase security, then turn on SSL by setting this value to true.
Note, this will result in increased CPU overhead to perform the encryption involved in SSL communication, but this work is done asynchronously to the threads that process your application code, so it should not impact response times.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="syncStartup" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>
If true, the agent startup will block until a connection to the New Relic service is made.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="autoStart" type="xs:boolean" default="true">
<xs:annotation>
<xs:documentation>
If false, the agent will not automatically start sending data to New Relic. You can use the Agent API to manually start the agent.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="sendDataOnExit" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>
If true, the agent will block process shutdown until it has gone through a harvest cycle and sent its data to the New Relic service.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="sendDataOnExitThreshold" type="xs:float" default="60000">
<xs:annotation>
<xs:documentation>
The amount of time (in milliseconds) an agent must run before sending data on process shutdown.
The default is 60 seconds. This only applies when sendDataOnExit is set to true.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="requestTimeout" type="xs:int">
<xs:annotation>
<xs:documentation>
The request timeout (in milliseconds) when communicating with the New Relic service.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="application" minOccurs="1" maxOccurs="1">
<xs:complexType>
<xs:annotation>
<xs:documentation>
This element gives information about the application(s) being profiled.
</xs:documentation>
</xs:annotation>
<xs:sequence minOccurs="0" maxOccurs="3">
<xs:element name="name" type="xs:string">
<xs:annotation>
<xs:documentation>
If IIS is hosting multiple applications and you wish to have them report into New Relic as separate applications, create an application setting in the Web.Config of each application named NewRelic.AppName
Set this to be the name of your application as you'd like it to show up in New Relic. New Relic will then auto-map instances of your application into an "application" on your home dashboard page.
If youw ant to map this instance onto multiple applications, like "AJAX Requests" and "All UI", then specify up to three distinct names.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="disableSamplers" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>
Samplers collect information about memory and CPU consumption.
Set this to true to disable sampling.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="log" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:annotation>
<xs:documentation>
The agent generates its own log file to keep its logging information separate from that of your application.
</xs:documentation>
</xs:annotation>
<!--It is tempting to make level be a restriction enumeration, but that induces case sensitivity which may break
the newrelic.xml files out in the field that might use DEBUG or Debug as the value of the level string.-->
<xs:attribute name="level" type="xs:string" default="info">
<xs:annotation>
<xs:documentation>
Specify the agent's log level here.
It may be one of (in any case): off, emergency, fatal, alert, critical, severe, error, warn, notice, info, debug, fine, trace, finer, verbose, finest, all.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="directory" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The directory to hold log files generated by the agent.
If this is omitted, then a directory named 'logs' in the New Relic Agent installation area will be used by default.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="fileName" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The name of the log file to write.
If this is omitted, then the name is derived from the name of the monitored process.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="console" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>
If this is true, then log messages are also appended to the console, in addition to going to the log file.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="auditLog" type="xs:boolean" default="false" use="optional">
<xs:annotation>
<xs:documentation>
If this is true, then any data that is sent to New Relic will be recorded in a separate log file, in addition to going to the log file.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="fileLockingModel">
<xs:annotation>
<xs:documentation>
Controls how agent-produced log files are to be locked. Experimental.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="exclusive"/>
<xs:enumeration value="minimal"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="instrumentation" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
By default, the .NET agent instruments IIS asp worker processes and Azure web and worker roles.
To instrument other processes, do step (1) and either (2a) or (2b).
(1) Create a system environment variable named COR_ENABLE_PROFILING with a value of 1.
(2) Either (2a) or (2b)
(2a): Add an application setting to your application's configuration that enables the agent. For example, if the application name is MyServer.exe, edit MyServer.exe.config and add a new appSetting with a key named "NewRelic.AgentEnabled" and a value of "true":
OR
(2b) Add an instrumentation element, with an applications element, containing one or more application name, each set to the name of your custom server application. Multiple application elements can be specified.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="applications" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
A list of application names to instrument.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="application" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The name of your custom server application; remove everything up to and including the last folder separator.
For example, "MyCustomServer.exe".
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="log" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>
If log is set to true, then each method that is instrumented will be logged in the application event log. This is helpful when debugging custom instrumentation.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="attributes" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
The attributes element tells the transaction tracer, error collector, browser monitoring and transaction events whether or not to capture any attributes.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="include" type="xs:string">
<xs:annotation>
<xs:documentation>
The name of a specific custom attribute to include.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="exclude" type="xs:string">
<xs:annotation>
<xs:documentation>
The name of a specific custom attribute to exclude.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:sequence>
<xs:attribute name="enabled" type="xs:boolean" default="true">
<xs:annotation>
<xs:documentation>
Turns on attribute capturing. Enabled by default.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<!-- DEPRECATED: A parameter group is a container for a set of data values captured by the agent. -->
<xs:element name="parameterGroups" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:all>
<xs:element name="identityParameters" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Deprecated: The identityParameters element tells the transaction tracer and the error collector whether or not to capture data from the Principal associated with the application.
See http://msdn.microsoft.com/en-us/library/axt6w9h8.aspx for information on the concept of Principal Microsoft Windows.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="ignore" type="xs:string">
<xs:annotation>
<xs:documentation>
Deprecated: The name of a specific identity parameter to not capture.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="enabled" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
Deprecated: Turns on identity parameter capturing for the Transaction Tracer and Error Collector features. Default is true.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="responseHeaderParameters" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Deprecated: The responseHeaderParameters element tells the transaction tracer and the error collector whether or not to capture data from the HTTP response.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="ignore" type="xs:string">
<xs:annotation>
<xs:documentation>
Deprecated: The name of a specific response header parameter to not capture.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="enabled" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
Deprecated: Turns on response header parameter capturing for the Transaction Tracer and Error Collector features. Default is true.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="customParameters" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Deprecated: The customParameters element tells the transaction tracer and the error collector whether or not to capture custom parameters set using the .NET Agent Api.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="ignore" type="xs:string">
<xs:annotation>
<xs:documentation>
Deprecated: The name of a specific custom parameter to not capture.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="enabled" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
Deprecated: Turns on custom parameter capturing for the Transaction Tracer and Error Collector features. Default is true.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="requestHeaderParameters" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Deprecated: The requestHeaderParameters element tells the transaction tracer and the error collector whether or not to capture request headers set.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="ignore" type="xs:string">
<xs:annotation>
<xs:documentation>
Deprecated: The name of a specific request header to not capture.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="enabled" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
Deprecated: Turns on request header capturing for the Transaction Tracer and Error Collector features. Default is true.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="serviceRequestParameters" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Deprecated: The serviceRequestParameters element tells the transaction tracer and the error collector whether or not to capture service request parameters sent.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="ignore" type="xs:string">
<xs:annotation>
<xs:documentation>
Deprecated: The name of a specific service request parameter to not capture.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="enabled" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
Deprecated: Turns on service request parameter capturing for the Transaction Tracer and Error Collector features.
Default is false.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
<xs:element name="requestParameters" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
The requestParameters element tells the transaction tracer and the error collector whether or not to capture HTTP parameters.
To ignore specific parameters so that they are never captured, specify ignore elements.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="ignore" type="xs:string">
<xs:annotation>
<xs:documentation>
The name of a specific request parameter to not capture.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="enabled" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
Turns on request parameter capturing for the Transaction Tracer and Error Collector features. Default is false.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="analyticsEvents" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Deprecated: Collects semi-detailed information about various events that occur in an application.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:all>
<xs:element name="transactions" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="enabled" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
Deprecated: Turns event recording of transaction events on or off. Defaults to true.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:all>
<xs:attribute name="enabled" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
Deprecated: Turns the event recorder on or off. Defaults to true.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maximumSamplesPerMinute" type="xs:unsignedInt" use="optional">
<xs:annotation>
<xs:documentation>
Deprecated: The maximum number of samples to send per minute. It is possible that fewer events will be sent, but never more. Default is 10000.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maximumSamplesStored" type="xs:unsignedInt" use="optional">
<xs:annotation>
<xs:documentation>
Deprecated: The maximum number of samples to store in memory at a time. Default is 10000.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="captureAttributes" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
Deprecated: Include custom parameters in transaction analytics events. Defaults to true.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="customEvents" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Collects information about custom events that occur in an application.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="enabled" type="xs:boolean" use="optional" default="true">
<xs:annotation>
<xs:documentation>
Turns the custom event recorder on or off. Default is true.
Note: The agent will store up to 10,000 custom events in memory at a time.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="transactionEvents" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Collects semi-detailed information about various events that occur in an application.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:all>
<xs:element name="transactions" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="enabled" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
Turns event recording of transaction events on or off. Default is true.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="attributes" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="include" type="xs:string">
<xs:annotation>
<xs:documentation>
The name of a specific custom attribute to include in the transaction events.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="exclude" type="xs:string">
<xs:annotation>
<xs:documentation>
The name of a specific custom attribute to exclude in the transaction events.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:sequence>
<xs:attribute name="enabled" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
Turns on custom attribute capturing for Transaction Events
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:all>
<xs:attribute name="enabled" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
Turns the event recorder on or off. Default is true.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maximumSamplesPerMinute" type="xs:unsignedInt" use="optional">
<xs:annotation>
<xs:documentation>
The maximum number of samples to send per minute. It is possible that fewer events will be sent, but never more. Default is 10000.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maximumSamplesStored" type="xs:unsignedInt" use="optional">
<xs:annotation>
<xs:documentation>
The maximum number of samples to store in memory at a time. Default is 10000.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="transactionTracer" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
The transaction tracer captures deep information about slow transactions and sends this to the New Relic service once a minute. Included in the transaction is the exact call sequence of the transactions including any SQL statements issued.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="attributes" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="include" type="xs:string">
<xs:annotation>
<xs:documentation>
The name of a specific custom attribute to include in the transaction traces.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="exclude" type="xs:string">
<xs:annotation>
<xs:documentation>
The name of a specific custom attribute to exclude in the transaction traces.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:sequence>
<xs:attribute name="enabled" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
Turns on custom attribute capturing for Transaction Traces
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="transactionThreshold" type="xs:string" default="apdex_f">
<xs:annotation>
<xs:documentation>
The threshold (in milliseconds) for when to collect a transaction trace.
When the response time of a controller action exceeds this threshold, a transaction trace will be recorded and sent to New Relic.
Valid values are any float value, or (default) "apdex_f", which will use the threshold for an dissatisfying Apdex controller action - four times the Apdex T value.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="recordSql" default="obfuscated">
<xs:annotation>
<xs:documentation>
This describes how to record the SQL captured for the slow SQL monitor.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="obfuscated"/>
<xs:enumeration value="raw"/>
<xs:enumeration value="off"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="stackTraceThreshold" type="xs:int" default="500">
<xs:annotation>
<xs:documentation>
The threshold (in milliseconds) for when to collect a stack trace for a SQL call.
In other words, when SQL statements exceed this threshold, then capture and send to New Relic the current stack trace. This is helpful for pinpointing where long SQL calls originate from.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="explainEnabled" type="xs:boolean" default="true">
<xs:annotation>
<xs:documentation>
This determines whether the agent will capture query plans for slow SQL queries.
Only supported in SQL Server, MySql, and postgres.
Should be set to false when using other adapters.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="explainThreshold" type="xs:float" default="500">
<xs:annotation>
<xs:documentation>
The threshold for query execution time (in milliseconds) below which query plans will not be captured.
Relevant only when 'explainEnabled' is true.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="enabled" type="xs:boolean" default="true">
<xs:annotation>
<xs:documentation>
Deprecated: The transaction tracer is available only in the Professional product version.
It is enabled by default.
Set this to false to turn it off.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<!--
These clamping upper bounds (maxSegments, maxStackTrace, maxExplainPlans) are exposed to the customer.
This exposure is not really a problem, as customers can change those values if they please.
We make them configurable so that in the rare case someone needs to change them they can.
We don't expose all of the values in the XML because we don't want to overwhelm users with options.
If someone wants to dig through our schema and set uncommonly used settings they'd welcome to do that.
Most of the switches you mentioned are only harmful to the customer's application.
Increasing the stack trace size, for example, will bloat memory.
If they send Transaction Traces to our service that are too large because of it we'll simply reject them.
-->
<xs:attribute name="maxSegments" type="xs:int" default="3000">
<xs:annotation>
<xs:documentation>
The maximum number of segments to collect in a transaction trace.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxStackTrace" type="xs:int" default="30">
<xs:annotation>
<xs:documentation>
The maximum number of stack traces to collect during a harvest cycle.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxExplainPlans" type="xs:int" default="20">
<xs:annotation>
<xs:documentation>
The maximum number of explain plans to collect during a harvest cycle.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="captureAttributes" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
Deprecated: Include user custom parameters in transaction traces.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="crossApplicationTracer" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Turns on/off Cross application Tracing.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="enabled" type="xs:boolean" default="true">
<xs:annotation>
<xs:documentation>
It is enabled by default. Set this to false to turn it off.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="highSecurity" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Turns on/off High Security Mode.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="enabled" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>
It is disabled by default.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="slowSql" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
The slowSql service captures information about slow SQL executions, and captures and obfuscates explain plans for these queries.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="enabled" type="xs:boolean" default="true">
<xs:annotation>
<xs:documentation>
The slowSQL service is enabled by default.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="errorCollector" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:annotation>
<xs:documentation>
The error collector captures information about uncaught exceptions and sends them to the New Relic service for viewing.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ignoreErrors">
<xs:complexType>
<xs:annotation>
<xs:documentation>
To stop specific exceptions from reporting to New Relic, list them here.
Use the full name of the exception, such as "System.IO.FileNotFoundException".
</xs:documentation>
</xs:annotation>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="exception" type="xs:string">
<xs:annotation>
<xs:documentation>
The full name of an exception to ignore, such as "System.IO.FileNotFoundException".
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ignoreStatusCodes">
<xs:complexType>
<xs:annotation>
<xs:documentation>
To stop specific error codes from reporting to New Relic, list them here.
</xs:documentation>
</xs:annotation>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="code" type="xs:float">
<xs:annotation>
<xs:documentation>
You may use standard integral HTTP errorcodes, such as just 401, or may use Microsoft FullStatusCodes, with decimal points, such as 401.4 or 403.18
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="attributes" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="include" type="xs:string">
<xs:annotation>
<xs:documentation>
The name of a specific custom attribute to include in the error trace.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="exclude" type="xs:string">
<xs:annotation>
<xs:documentation>
The name of a specific custom attribute to exclude in the error trace.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:sequence>
<xs:attribute name="enabled" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
Turns on custom attribute capturing for the Error Collector.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="enabled" type="xs:boolean" default="true">
<xs:annotation>
<xs:documentation>
The error collector is enabled by default.
Set this to false to turn it off.
This feature is only available in the Professional product edition.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="captureAttributes" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
Deprecated: Include user custom parameters in traced errors. Defaults to true.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="browserMonitoring" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
The New Relic Real User Monitoring (RUM) gives you insight into the performance real users are experiencing with your website. This is accomplished by measuring the time it takes for your users' browsers to download and render your web pages by injecting a small amount of JavaScript code into the header and footer of each page.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="requestPathsExcluded" minOccurs="0" maxOccurs="1">
<xs:annotation>