Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updates to url requests #228

Merged
merged 4 commits into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,62 @@ properties:
nullable: true
type: object
required:
- host
- method
- path
- total
- last_hit
- handlers
properties:
host:
type: string
description: The host name of the URL request.
example: abc.cycle.io
method:
type: string
description: The HTTP method of the URL request.
example: GET
path:
type: string
description: The path portion of the inbound URL request.
example: /pathname
total:
type: integer
description: The number of requests to a this URL.
example: 11
last_hit:
description: The date of the most recent hit to the URL.
$ref: ../../../../DateTime.yml
handlers:
type: object
description: An object describing the relative breakdown of proxy, cache, forward, and redirect URL responses.
required:
- proxy
- cache
- forward
- redirect
properties:
proxy:
description: Object containing hit count and timing data for proxy responses.
$ref: ./LoadBalancerTelemetryUrlRequestHandler.yml
blewisCycle marked this conversation as resolved.
Show resolved Hide resolved
cache:
description: Object containing hit count and timing data for cache responses.
$ref: ./LoadBalancerTelemetryUrlRequestHandler.yml
forward:
description: Object containing hit count and timing data for forward responses.
$ref: ./LoadBalancerTelemetryUrlRequestHandler.yml
redirect:
description: Object containing hit count and timing data for redirect responses.
$ref: ./LoadBalancerTelemetryUrlRequestHandler.yml
responses:
type: object
example: { "http:404": 10 }
description: An object where the key is the response type and the value is the number of hits with that response.
additionalProperties:
type: integer
errors:
type: object
example: { "i/o timeout": 1 }
description: An object where the key is the error type and the value is the number of hits with that error.
additionalProperties:
type: integer
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
title: LoadBalancerTelemetryUrlRequestHandler
type: object
required:
- hits
- timing_ms
properties:
hits:
description: The number of hits to a specific URL handler.
type: integer
timing_ms:
description: The cumulative ms of response time across all hits.
type: integer