Skip to content
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
2 changes: 0 additions & 2 deletions generated/stackstate_api/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@ docs/OtelComponentMapping.md
docs/OtelComponentMappingFieldMapping.md
docs/OtelComponentMappingOutput.md
docs/OtelInput.md
docs/OtelInputConditionAction.md
docs/OtelInputDatapoint.md
docs/OtelInputLog.md
docs/OtelInputMetric.md
Expand Down Expand Up @@ -945,7 +944,6 @@ model_otel_component_mapping.go
model_otel_component_mapping_field_mapping.go
model_otel_component_mapping_output.go
model_otel_input.go
model_otel_input_condition_action.go
model_otel_input_datapoint.go
model_otel_input_log.go
model_otel_input_metric.go
Expand Down
1 change: 0 additions & 1 deletion generated/stackstate_api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,6 @@ Class | Method | HTTP request | Description
- [OtelComponentMappingFieldMapping](docs/OtelComponentMappingFieldMapping.md)
- [OtelComponentMappingOutput](docs/OtelComponentMappingOutput.md)
- [OtelInput](docs/OtelInput.md)
- [OtelInputConditionAction](docs/OtelInputConditionAction.md)
- [OtelInputDatapoint](docs/OtelInputDatapoint.md)
- [OtelInputLog](docs/OtelInputLog.md)
- [OtelInputMetric](docs/OtelInputMetric.md)
Expand Down
111 changes: 62 additions & 49 deletions generated/stackstate_api/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16595,16 +16595,16 @@ components:
condition: condition
datapoint:
condition: condition
action: null
action: null
action: action
action: action
log:
condition: condition
action: null
action: null
action: action
action: action
span:
condition: condition
action: null
action: null
action: action
action: action
signal:
- null
- null
Expand Down Expand Up @@ -16657,32 +16657,35 @@ components:
condition: condition
datapoint:
condition: condition
action: null
action: null
action: action
action: action
log:
condition: condition
action: null
action: null
action: action
action: action
span:
condition: condition
action: null
action: null
action: action
action: action
properties:
condition:
description: A Cel expression that must return a boolean
type: string
action:
$ref: '#/components/schemas/OtelInputConditionAction'
description: "An expression that must produce a string. It must be one of\
\ these formats:\n - A plain string, for example `\"this is a plain string\"\
`\n - A cel expression that must return a string, for example: `resource.attributes['service.namespace']`"
type: string
scope:
$ref: '#/components/schemas/OtelInputScope'
type: object
OtelBooleanExpression:
description: A Cel expression that must return a boolean
type: string
OtelInputConditionAction:
enum:
- CREATE
- CONTINUE
OtelStringExpression:
description: "An expression that must produce a string. It must be one of these\
\ formats:\n - A plain string, for example `\"this is a plain string\"`\n\
\ - A cel expression that must return a string, for example: `resource.attributes['service.namespace']`"
type: string
OtelInputScope:
description: "Defines conditional mapping at the resource -> scope level.\n\
Expand All @@ -16693,21 +16696,24 @@ components:
condition: condition
datapoint:
condition: condition
action: null
action: null
action: action
action: action
log:
condition: condition
action: null
action: null
action: action
action: action
span:
condition: condition
action: null
action: action
properties:
condition:
description: A Cel expression that must return a boolean
type: string
action:
$ref: '#/components/schemas/OtelInputConditionAction'
description: "An expression that must produce a string. It must be one of\
\ these formats:\n - A plain string, for example `\"this is a plain string\"\
`\n - A cel expression that must return a string, for example: `resource.attributes['service.namespace']`"
type: string
metric:
$ref: '#/components/schemas/OtelInputMetric'
span:
Expand All @@ -16723,14 +16729,17 @@ components:
condition: condition
datapoint:
condition: condition
action: null
action: null
action: action
action: action
properties:
condition:
description: A Cel expression that must return a boolean
type: string
action:
$ref: '#/components/schemas/OtelInputConditionAction'
description: "An expression that must produce a string. It must be one of\
\ these formats:\n - A plain string, for example `\"this is a plain string\"\
`\n - A cel expression that must return a string, for example: `resource.attributes['service.namespace']`"
type: string
datapoint:
$ref: '#/components/schemas/OtelInputDatapoint'
type: object
Expand All @@ -16740,39 +16749,48 @@ components:
\ defaults to `CONTINUE`."
example:
condition: condition
action: null
action: action
properties:
condition:
description: A Cel expression that must return a boolean
type: string
action:
$ref: '#/components/schemas/OtelInputConditionAction'
description: "An expression that must produce a string. It must be one of\
\ these formats:\n - A plain string, for example `\"this is a plain string\"\
`\n - A cel expression that must return a string, for example: `resource.attributes['service.namespace']`"
type: string
type: object
OtelInputSpan:
description: "Defines conditional mapping at the resource -> scope -> span level.\n\
If omitted, `condition` defaults to `true` and `action` defaults to `CONTINUE`."
example:
condition: condition
action: null
action: action
properties:
condition:
description: A Cel expression that must return a boolean
type: string
action:
$ref: '#/components/schemas/OtelInputConditionAction'
description: "An expression that must produce a string. It must be one of\
\ these formats:\n - A plain string, for example `\"this is a plain string\"\
`\n - A cel expression that must return a string, for example: `resource.attributes['service.namespace']`"
type: string
type: object
OtelInputLog:
description: "Defines conditional mapping at the resource -> scope -> log level.\n\
If omitted, `condition` defaults to `true` and `action` defaults to `CONTINUE`."
example:
condition: condition
action: null
action: action
properties:
condition:
description: A Cel expression that must return a boolean
type: string
action:
$ref: '#/components/schemas/OtelInputConditionAction'
description: "An expression that must produce a string. It must be one of\
\ these formats:\n - A plain string, for example `\"this is a plain string\"\
`\n - A cel expression that must return a string, for example: `resource.attributes['service.namespace']`"
type: string
type: object
OtelComponentMappingOutput:
example:
Expand Down Expand Up @@ -16864,11 +16882,6 @@ components:
- name
- typeName
type: object
OtelStringExpression:
description: "An expression that must produce a string. It must be one of these\
\ formats:\n - A plain string, for example `\"this is a plain string\"`\n\
\ - A cel expression that must return a string, for example: `resource.attributes['service.namespace']`"
type: string
OtelComponentMappingFieldMapping:
example:
configuration: configuration
Expand Down Expand Up @@ -17013,16 +17026,16 @@ components:
condition: condition
datapoint:
condition: condition
action: null
action: null
action: action
action: action
log:
condition: condition
action: null
action: null
action: action
action: action
span:
condition: condition
action: null
action: null
action: action
action: action
signal:
- null
- null
Expand Down Expand Up @@ -17205,16 +17218,16 @@ components:
condition: condition
datapoint:
condition: condition
action: null
action: null
action: action
action: action
log:
condition: condition
action: null
action: null
action: action
action: action
span:
condition: condition
action: null
action: null
action: action
action: action
signal:
- null
- null
Expand Down
2 changes: 1 addition & 1 deletion generated/stackstate_api/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions generated/stackstate_api/docs/OtelInputConditionAction.md

This file was deleted.

8 changes: 4 additions & 4 deletions generated/stackstate_api/docs/OtelInputDatapoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Condition** | Pointer to **string** | A Cel expression that must return a boolean | [optional]
**Action** | Pointer to [**OtelInputConditionAction**](OtelInputConditionAction.md) | | [optional]
**Action** | Pointer to **string** | An expression that must produce a string. It must be one of these formats: - A plain string, for example `\"this is a plain string\"` - A cel expression that must return a string, for example: `resource.attributes['service.namespace']` | [optional]

## Methods

Expand Down Expand Up @@ -53,20 +53,20 @@ HasCondition returns a boolean if a field has been set.

### GetAction

`func (o *OtelInputDatapoint) GetAction() OtelInputConditionAction`
`func (o *OtelInputDatapoint) GetAction() string`

GetAction returns the Action field if non-nil, zero value otherwise.

### GetActionOk

`func (o *OtelInputDatapoint) GetActionOk() (*OtelInputConditionAction, bool)`
`func (o *OtelInputDatapoint) GetActionOk() (*string, bool)`

GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetAction

`func (o *OtelInputDatapoint) SetAction(v OtelInputConditionAction)`
`func (o *OtelInputDatapoint) SetAction(v string)`

SetAction sets Action field to given value.

Expand Down
8 changes: 4 additions & 4 deletions generated/stackstate_api/docs/OtelInputLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Condition** | Pointer to **string** | A Cel expression that must return a boolean | [optional]
**Action** | Pointer to [**OtelInputConditionAction**](OtelInputConditionAction.md) | | [optional]
**Action** | Pointer to **string** | An expression that must produce a string. It must be one of these formats: - A plain string, for example `\"this is a plain string\"` - A cel expression that must return a string, for example: `resource.attributes['service.namespace']` | [optional]

## Methods

Expand Down Expand Up @@ -53,20 +53,20 @@ HasCondition returns a boolean if a field has been set.

### GetAction

`func (o *OtelInputLog) GetAction() OtelInputConditionAction`
`func (o *OtelInputLog) GetAction() string`

GetAction returns the Action field if non-nil, zero value otherwise.

### GetActionOk

`func (o *OtelInputLog) GetActionOk() (*OtelInputConditionAction, bool)`
`func (o *OtelInputLog) GetActionOk() (*string, bool)`

GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetAction

`func (o *OtelInputLog) SetAction(v OtelInputConditionAction)`
`func (o *OtelInputLog) SetAction(v string)`

SetAction sets Action field to given value.

Expand Down
8 changes: 4 additions & 4 deletions generated/stackstate_api/docs/OtelInputMetric.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Condition** | Pointer to **string** | A Cel expression that must return a boolean | [optional]
**Action** | Pointer to [**OtelInputConditionAction**](OtelInputConditionAction.md) | | [optional]
**Action** | Pointer to **string** | An expression that must produce a string. It must be one of these formats: - A plain string, for example `\"this is a plain string\"` - A cel expression that must return a string, for example: `resource.attributes['service.namespace']` | [optional]
**Datapoint** | Pointer to [**OtelInputDatapoint**](OtelInputDatapoint.md) | | [optional]

## Methods
Expand Down Expand Up @@ -54,20 +54,20 @@ HasCondition returns a boolean if a field has been set.

### GetAction

`func (o *OtelInputMetric) GetAction() OtelInputConditionAction`
`func (o *OtelInputMetric) GetAction() string`

GetAction returns the Action field if non-nil, zero value otherwise.

### GetActionOk

`func (o *OtelInputMetric) GetActionOk() (*OtelInputConditionAction, bool)`
`func (o *OtelInputMetric) GetActionOk() (*string, bool)`

GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetAction

`func (o *OtelInputMetric) SetAction(v OtelInputConditionAction)`
`func (o *OtelInputMetric) SetAction(v string)`

SetAction sets Action field to given value.

Expand Down
Loading
Loading