Skip to content

Commit

Permalink
Merge branch 'main' into docs/add-lb-metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsomething authored Sep 6, 2024
2 parents 85c7e02 + ccd01a3 commit 56edd3c
Show file tree
Hide file tree
Showing 13 changed files with 42 additions and 209 deletions.
8 changes: 0 additions & 8 deletions specification/DigitalOcean-public.v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -570,14 +570,6 @@ paths:
get:
$ref: 'resources/apps/apps_get_logs_active_deployment_aggregate.yml'

/v2/apps/tiers:
get:
$ref: 'resources/apps/apps_list_tiers.yml'

/v2/apps/tiers/{slug}:
get:
$ref: 'resources/apps/apps_get_tier.yml'

/v2/apps/tiers/instance_sizes:
get:
$ref: 'resources/apps/apps_list_instanceSizes.yml'
Expand Down
44 changes: 0 additions & 44 deletions specification/resources/apps/apps_get_tier.yml

This file was deleted.

38 changes: 0 additions & 38 deletions specification/resources/apps/apps_list_tiers.yml

This file was deleted.

6 changes: 0 additions & 6 deletions specification/resources/apps/examples/curl/apps_get_tier.yml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 4 additions & 1 deletion specification/resources/apps/models/app_component_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,7 @@ properties:
example: node-js

log_destinations:
$ref: app_log_destination_definition.yml
type: array
items:
$ref: app_log_destination_definition.yml
description: A list of configured log forwarding destinations.
5 changes: 4 additions & 1 deletion specification/resources/apps/models/app_functions_spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ properties:
$ref: apps_gitlab_source_spec.yml

log_destinations:
$ref: app_log_destination_definition.yml
type: array
items:
$ref: app_log_destination_definition.yml
description: A list of configured log forwarding destinations.

required:
- name
25 changes: 0 additions & 25 deletions specification/resources/apps/models/apps_tier.yml

This file was deleted.

18 changes: 0 additions & 18 deletions specification/resources/apps/responses/all_tiers.yml

This file was deleted.

17 changes: 0 additions & 17 deletions specification/resources/apps/responses/get_tier.yml

This file was deleted.

63 changes: 34 additions & 29 deletions specification/resources/databases/responses/logsink.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,39 +11,44 @@ headers:
content:
application/json:
schema:
allOf:
- $ref: "../models/logsink_verbose.yml"
required:
- sink_id
- sink_name
- sink_type
- config
properties:
sink:
allOf:
- $ref: "../models/logsink_verbose.yml"
required:
- sink_id
- sink_name
- sink_type
- config
examples:
Create an opensearch logsink:
value:
sink_id: "dfcc9f57d86bf58e321c2c6c31c7a971be244ac7"
sink_name: "logs-sink"
sink_type: "opensearch"
config:
url: https://user:[email protected]:25060
index_prefix: "opensearch-logs"
index_days_max: 5
sink:
sink_id: "dfcc9f57d86bf58e321c2c6c31c7a971be244ac7"
sink_name: "logs-sink"
sink_type: "opensearch"
config:
url: https://user:[email protected]:25060
index_prefix: "opensearch-logs"
index_days_max: 5
Create an elasticsearch logsink:
value:
sink_id: "dfcc9f57d86bf58e321c2c6c31c7a971be244ac7"
sink_name: "logs-sink"
sink_type: "elasticsearch"
config:
url: https://user:[email protected]:25060
index_prefix: "elasticsearch-logs"
index_days_max: 5
sink:
sink_id: "dfcc9f57d86bf58e321c2c6c31c7a971be244ac7"
sink_name: "logs-sink"
sink_type: "elasticsearch"
config:
url: https://user:[email protected]:25060
index_prefix: "elasticsearch-logs"
index_days_max: 5
Create a rsyslog logsink:
value:
sink_id: "dfcc9f57d86bf58e321c2c6c31c7a971be244ac7"
sink_name: logs-sink
sink_type: rsyslog
config:
server: 192.168.0.1
port: 514
tls: false
format: rfc5424
sink:
sink_id: "dfcc9f57d86bf58e321c2c6c31c7a971be244ac7"
sink_name: logs-sink
sink_type: rsyslog
config:
server: 192.168.0.1
port: 514
tls: false
format: rfc5424

0 comments on commit 56edd3c

Please sign in to comment.