aws-sdk-xray 1.0.0.rc6 → 1.0.0.rc7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c2bee255c1b89f3bc266cdc9642af995679b7028
4
- data.tar.gz: d88994cb5d3a42a20dd812e8b48df6d9e9b770c2
3
+ metadata.gz: 795ba21dece161e283850bd9b5e821f510239245
4
+ data.tar.gz: 0ed959a5a03a99c01c803958a98925069e9019fb
5
5
  SHA512:
6
- metadata.gz: b3000aecd81e4d8754a270ac6eb5bdbefa32e99b5d7bfa45523924609b3d721d3f76d867444d91ef93f962725bb620fb1260880cf723d51655c49e20758c7726
7
- data.tar.gz: 447146fbe2d142880c7d749ea8faff9868d609270f48e586afc32b755bb2ce885335badd9ed630dfc8a4af6410223a1812e1b4e594486a9d54d0e596174b1d46
6
+ metadata.gz: 01c557341918a93e106d70fed2902a4986223f8201565de3118b5ff3c49078f70b32557fdfa804dcf4dbf42b925ed9c802fdfdde5d93c414b3f1c326476d8ee3
7
+ data.tar.gz: 5411c5d0199dbf6f63701a06cc2f2137441e27950e593895163ea6a4a7a2f427deda07f8dc33e9455f3448e5c9bc3e81c1e4fe90e1bf2cc6c0567bca4c0cbe8d
data/lib/aws-sdk-xray.rb CHANGED
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-xray/customizations'
42
42
  # @service
43
43
  module Aws::XRay
44
44
 
45
- GEM_VERSION = '1.0.0.rc6'
45
+ GEM_VERSION = '1.0.0.rc7'
46
46
 
47
47
  end
@@ -266,6 +266,9 @@ module Aws::XRay
266
266
  # resp.services[0].duration_histogram #=> Array
267
267
  # resp.services[0].duration_histogram[0].value #=> Float
268
268
  # resp.services[0].duration_histogram[0].count #=> Integer
269
+ # resp.services[0].response_time_histogram #=> Array
270
+ # resp.services[0].response_time_histogram[0].value #=> Float
271
+ # resp.services[0].response_time_histogram[0].count #=> Integer
269
272
  # resp.next_token #=> String
270
273
  #
271
274
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetServiceGraph AWS API Documentation
@@ -341,6 +344,9 @@ module Aws::XRay
341
344
  # resp.services[0].duration_histogram #=> Array
342
345
  # resp.services[0].duration_histogram[0].value #=> Float
343
346
  # resp.services[0].duration_histogram[0].count #=> Integer
347
+ # resp.services[0].response_time_histogram #=> Array
348
+ # resp.services[0].response_time_histogram[0].value #=> Float
349
+ # resp.services[0].response_time_histogram[0].count #=> Integer
344
350
  # resp.next_token #=> String
345
351
  #
346
352
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceGraph AWS API Documentation
@@ -356,6 +362,26 @@ module Aws::XRay
356
362
  # frame using an optional filter. To get the full traces, pass the trace
357
363
  # IDs to `BatchGetTraces`.
358
364
  #
365
+ # A filter expression can target traced requests that hit specific
366
+ # service nodes or edges, have errors, or come from a known user. For
367
+ # example, the following filter expression targets traces that pass
368
+ # through `api.example.com`\:
369
+ #
370
+ # `service("api.example.com")`
371
+ #
372
+ # This filter expression finds traces that have an annotation named
373
+ # `account` with the value `12345`\:
374
+ #
375
+ # `annotation.account = "12345"`
376
+ #
377
+ # For a full list of indexed fields and keywords that you can use in
378
+ # filter expressions, see [Using Filter Expressions][1] in the *AWS
379
+ # X-Ray Developer Guide*.
380
+ #
381
+ #
382
+ #
383
+ # [1]: http://docs.aws.amazon.com/xray/latest/devguide/xray-console-filters.html
384
+ #
359
385
  # @option params [required, Time,DateTime,Date,Integer,String] :start_time
360
386
  # The start of the time frame for which to retrieve traces.
361
387
  #
@@ -494,48 +520,56 @@ module Aws::XRay
494
520
  # them in batches. A segment document can be a completed segment, an
495
521
  # in-progress segment, or an array of subsegments.
496
522
  #
497
- # @option params [required, Array<String>] :trace_segment_documents
498
- # A JSON document defining one or more segments or subsegments. Segments
499
- # must include the following fields.
523
+ # Segments must include the following fields. For the full segment
524
+ # document schema, see [AWS X-Ray Segment Documents][1] in the *AWS
525
+ # X-Ray Developer Guide*.
526
+ #
527
+ # **Required Segment Document Fields**
528
+ #
529
+ # * `name` - The name of the service that handled the request.
500
530
  #
501
- # **Required Segment Document Fields**
531
+ # * `id` - A 64-bit identifier for the segment, unique among segments in
532
+ # the same trace, in 16 hexadecimal digits.
502
533
  #
503
- # * `name` - The name of the service that handled the request.
534
+ # * `trace_id` - A unique identifier that connects all segments and
535
+ # subsegments originating from a single client request.
504
536
  #
505
- # * `id` - A 64-bit identifier for the segment, unique among segments in
506
- # the same trace, in 16 hexadecimal digits.
537
+ # * `start_time` - Time the segment or subsegment was created, in
538
+ # floating point seconds in epoch time, accurate to milliseconds. For
539
+ # example, `1480615200.010` or `1.480615200010E9`.
507
540
  #
508
- # * `trace_id` - A unique identifier that connects all segments and
509
- # subsegments originating from a single client request.
541
+ # * `end_time` - Time the segment or subsegment was closed. For example,
542
+ # `1480615200.090` or `1.480615200090E9`. Specify either an `end_time`
543
+ # or `in_progress`.
510
544
  #
511
- # * `start_time` - Time the segment or subsegment was created, in
512
- # floating point seconds in epoch time, accurate to milliseconds. For
513
- # example, `1480615200.010` or `1.480615200010E9`.
545
+ # * `in_progress` - Set to `true` instead of specifying an `end_time` to
546
+ # record that a segment has been started, but is not complete. Send an
547
+ # in progress segment when your application receives a request that
548
+ # will take a long time to serve, to trace the fact that the request
549
+ # was received. When the response is sent, send the complete segment
550
+ # to overwrite the in-progress segment.
514
551
  #
515
- # * `end_time` - Time the segment or subsegment was closed. For example,
516
- # `1480615200.090` or `1.480615200090E9`. Specify either an `end_time`
517
- # or `in_progress`.
552
+ # A `trace_id` consists of three numbers separated by hyphens. For
553
+ # example, 1-58406520-a006649127e371903a2de979. This includes:
518
554
  #
519
- # * `in_progress` - Set to `true` instead of specifying an `end_time` to
520
- # record that a segment has been started, but is not complete. Send an
521
- # in progress segment when your application receives a request that
522
- # will take a long time to serve, to trace the fact that the request
523
- # was received. When the response is sent, send the complete segment
524
- # to overwrite the in-progress segment.
555
+ # **Trace ID Format**
525
556
  #
526
- # A `trace_id` consists of three numbers separated by hyphens. For
527
- # example, 1-58406520-a006649127e371903a2de979. This includes:
557
+ # * The version number, i.e. `1`.
528
558
  #
529
- # **Trace ID Format**
559
+ # * The time of the original request, in Unix epoch time, in 8
560
+ # hexadecimal digits. For example, 10:00AM December 2nd, 2016 PST in
561
+ # epoch time is `1480615200` seconds, or `58406520` in hexadecimal.
530
562
  #
531
- # * The version number, i.e. `1`.
563
+ # * A 96-bit identifier for the trace, globally unique, in 24
564
+ # hexadecimal digits.
532
565
  #
533
- # * The time of the original request, in Unix epoch time, in 8
534
- # hexadecimal digits. For example, 10:00AM December 2nd, 2016 PST in
535
- # epoch time is `1480615200` seconds, or `58406520` in hexadecimal.
536
566
  #
537
- # * A 96-bit identifier for the trace, globally unique, in 24
538
- # hexadecimal digits.
567
+ #
568
+ # [1]: http://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html
569
+ #
570
+ # @option params [required, Array<String>] :trace_segment_documents
571
+ # A string containing a JSON document defining one or more segments or
572
+ # subsegments.
539
573
  #
540
574
  # @return [Types::PutTraceSegmentsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
541
575
  #
@@ -576,7 +610,7 @@ module Aws::XRay
576
610
  params: params,
577
611
  config: config)
578
612
  context[:gem_name] = 'aws-sdk-xray'
579
- context[:gem_version] = '1.0.0.rc6'
613
+ context[:gem_version] = '1.0.0.rc7'
580
614
  Seahorse::Client::Request.new(handlers, context)
581
615
  end
582
616
 
@@ -214,6 +214,7 @@ module Aws::XRay
214
214
  Service.add_member(:edges, Shapes::ShapeRef.new(shape: EdgeList, location_name: "Edges"))
215
215
  Service.add_member(:summary_statistics, Shapes::ShapeRef.new(shape: ServiceStatistics, location_name: "SummaryStatistics"))
216
216
  Service.add_member(:duration_histogram, Shapes::ShapeRef.new(shape: Histogram, location_name: "DurationHistogram"))
217
+ Service.add_member(:response_time_histogram, Shapes::ShapeRef.new(shape: Histogram, location_name: "ResponseTimeHistogram"))
217
218
  Service.struct_class = Types::Service
218
219
 
219
220
  ServiceId.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
@@ -161,7 +161,8 @@ module Aws::XRay
161
161
  # @return [Types::EdgeStatistics]
162
162
  #
163
163
  # @!attribute [rw] response_time_histogram
164
- # Histogram describing the prominence of response times on the edge.
164
+ # A histogram that maps the spread of client response times on an
165
+ # edge.
165
166
  # @return [Array<Types::HistogramEntry>]
166
167
  #
167
168
  # @!attribute [rw] aliases
@@ -550,47 +551,8 @@ module Aws::XRay
550
551
  # }
551
552
  #
552
553
  # @!attribute [rw] trace_segment_documents
553
- # A JSON document defining one or more segments or subsegments.
554
- # Segments must include the following fields.
555
- #
556
- # **Required Segment Document Fields**
557
- #
558
- # * `name` - The name of the service that handled the request.
559
- #
560
- # * `id` - A 64-bit identifier for the segment, unique among segments
561
- # in the same trace, in 16 hexadecimal digits.
562
- #
563
- # * `trace_id` - A unique identifier that connects all segments and
564
- # subsegments originating from a single client request.
565
- #
566
- # * `start_time` - Time the segment or subsegment was created, in
567
- # floating point seconds in epoch time, accurate to milliseconds.
568
- # For example, `1480615200.010` or `1.480615200010E9`.
569
- #
570
- # * `end_time` - Time the segment or subsegment was closed. For
571
- # example, `1480615200.090` or `1.480615200090E9`. Specify either an
572
- # `end_time` or `in_progress`.
573
- #
574
- # * `in_progress` - Set to `true` instead of specifying an `end_time`
575
- # to record that a segment has been started, but is not complete.
576
- # Send an in progress segment when your application receives a
577
- # request that will take a long time to serve, to trace the fact
578
- # that the request was received. When the response is sent, send the
579
- # complete segment to overwrite the in-progress segment.
580
- #
581
- # A `trace_id` consists of three numbers separated by hyphens. For
582
- # example, 1-58406520-a006649127e371903a2de979. This includes:
583
- #
584
- # **Trace ID Format**
585
- #
586
- # * The version number, i.e. `1`.
587
- #
588
- # * The time of the original request, in Unix epoch time, in 8
589
- # hexadecimal digits. For example, 10:00AM December 2nd, 2016 PST in
590
- # epoch time is `1480615200` seconds, or `58406520` in hexadecimal.
591
- #
592
- # * A 96-bit identifier for the trace, globally unique, in 24
593
- # hexadecimal digits.
554
+ # A string containing a JSON document defining one or more segments or
555
+ # subsegments.
594
556
  # @return [Array<String>]
595
557
  #
596
558
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTraceSegmentsRequest AWS API Documentation
@@ -611,14 +573,17 @@ module Aws::XRay
611
573
  include Aws::Structure
612
574
  end
613
575
 
614
- # Information about a segment
576
+ # A segment from a trace that has been ingested by the X-Ray service.
577
+ # The segment can be compiled from documents uploaded with
578
+ # PutTraceSegments, or an `inferred` segment for a downstream service,
579
+ # generated from a subsegment sent by the service that called it.
615
580
  #
616
581
  # @!attribute [rw] id
617
582
  # The segment's ID.
618
583
  # @return [String]
619
584
  #
620
585
  # @!attribute [rw] document
621
- # The segment document.
586
+ # The segment document
622
587
  # @return [String]
623
588
  #
624
589
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Segment AWS API Documentation
@@ -693,7 +658,11 @@ module Aws::XRay
693
658
  # @return [Types::ServiceStatistics]
694
659
  #
695
660
  # @!attribute [rw] duration_histogram
696
- # Histogram mapping the spread of trace durations
661
+ # A histogram that maps the spread of service durations.
662
+ # @return [Array<Types::HistogramEntry>]
663
+ #
664
+ # @!attribute [rw] response_time_histogram
665
+ # A histogram that maps the spread of service response times.
697
666
  # @return [Array<Types::HistogramEntry>]
698
667
  #
699
668
  # @see http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Service AWS API Documentation
@@ -710,7 +679,8 @@ module Aws::XRay
710
679
  :end_time,
711
680
  :edges,
712
681
  :summary_statistics,
713
- :duration_histogram)
682
+ :duration_histogram,
683
+ :response_time_histogram)
714
684
  include Aws::Structure
715
685
  end
716
686
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-xray
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc6
4
+ version: 1.0.0.rc7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-23 00:00:00.000000000 Z
11
+ date: 2017-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.0.rc12
19
+ version: 3.0.0.rc13
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.0.0.rc12
26
+ version: 3.0.0.rc13
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: aws-sigv4
29
29
  requirement: !ruby/object:Gem::Requirement