diff --git a/CHANGELOG.md b/CHANGELOG.md index d14648c0b..276121397 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ - `CHATMODELDETAILSBITS_8Bits` -> `CHATMODELDETAILSBITS_EIGHT_BITS` - `CHATMODELDETAILSBITS_16Bits` -> `CHATMODELDETAILSBITS_SIXTEEN_BITS` - `observability`: + - [v0.14.0](services/observability/CHANGELOG.md#v0131) + - **Feature:** Add attributes `JaegerHttpTracesUrl`, `OtlpGrpcTracesUrl` and `OtlpHttpTracesUrl` to `InstanceSensitiveData` model - [v0.13.0](services/observability/CHANGELOG.md#v0130) - **Feature:** Add support for HTTP checks and cert checks - [v0.12.0](services/observability/CHANGELOG.md#v0120) diff --git a/services/observability/CHANGELOG.md b/services/observability/CHANGELOG.md index fef9606ea..a79ef82a9 100644 --- a/services/observability/CHANGELOG.md +++ b/services/observability/CHANGELOG.md @@ -1,3 +1,6 @@ +# v0.14.0 +- **Feature:** Add attributes `JaegerHttpTracesUrl`, `OtlpGrpcTracesUrl` and `OtlpHttpTracesUrl` to `InstanceSensitiveData` model + ## v0.13.0 - **Feature:** Add support for HTTP checks and cert checks diff --git a/services/observability/VERSION b/services/observability/VERSION index 6345c2168..4a29f93bb 100644 --- a/services/observability/VERSION +++ b/services/observability/VERSION @@ -1 +1 @@ -v0.13.0 +v0.14.0 diff --git a/services/observability/model_instance_sensitive_data.go b/services/observability/model_instance_sensitive_data.go index 35e1c03f7..5789d3f6c 100644 --- a/services/observability/model_instance_sensitive_data.go +++ b/services/observability/model_instance_sensitive_data.go @@ -204,6 +204,27 @@ func setInstanceSensitiveDataGetInstanceAttributeType(arg *InstanceSensitiveData type InstanceSensitiveDataGetInstanceArgType = string type InstanceSensitiveDataGetInstanceRetType = string +/* + types and functions for jaegerHttpTracesUrl +*/ + +// isNotNullableString +type InstanceSensitiveDataGetJaegerHttpTracesUrlAttributeType = *string + +func getInstanceSensitiveDataGetJaegerHttpTracesUrlAttributeTypeOk(arg InstanceSensitiveDataGetJaegerHttpTracesUrlAttributeType) (ret InstanceSensitiveDataGetJaegerHttpTracesUrlRetType, ok bool) { + if arg == nil { + return ret, false + } + return *arg, true +} + +func setInstanceSensitiveDataGetJaegerHttpTracesUrlAttributeType(arg *InstanceSensitiveDataGetJaegerHttpTracesUrlAttributeType, val InstanceSensitiveDataGetJaegerHttpTracesUrlRetType) { + *arg = &val +} + +type InstanceSensitiveDataGetJaegerHttpTracesUrlArgType = string +type InstanceSensitiveDataGetJaegerHttpTracesUrlRetType = string + /* types and functions for jaegerTracesUrl */ @@ -411,6 +432,48 @@ func setInstanceSensitiveDataGetNameAttributeType(arg *InstanceSensitiveDataGetN type InstanceSensitiveDataGetNameArgType = string type InstanceSensitiveDataGetNameRetType = string +/* + types and functions for otlpGrpcTracesUrl +*/ + +// isNotNullableString +type InstanceSensitiveDataGetOtlpGrpcTracesUrlAttributeType = *string + +func getInstanceSensitiveDataGetOtlpGrpcTracesUrlAttributeTypeOk(arg InstanceSensitiveDataGetOtlpGrpcTracesUrlAttributeType) (ret InstanceSensitiveDataGetOtlpGrpcTracesUrlRetType, ok bool) { + if arg == nil { + return ret, false + } + return *arg, true +} + +func setInstanceSensitiveDataGetOtlpGrpcTracesUrlAttributeType(arg *InstanceSensitiveDataGetOtlpGrpcTracesUrlAttributeType, val InstanceSensitiveDataGetOtlpGrpcTracesUrlRetType) { + *arg = &val +} + +type InstanceSensitiveDataGetOtlpGrpcTracesUrlArgType = string +type InstanceSensitiveDataGetOtlpGrpcTracesUrlRetType = string + +/* + types and functions for otlpHttpTracesUrl +*/ + +// isNotNullableString +type InstanceSensitiveDataGetOtlpHttpTracesUrlAttributeType = *string + +func getInstanceSensitiveDataGetOtlpHttpTracesUrlAttributeTypeOk(arg InstanceSensitiveDataGetOtlpHttpTracesUrlAttributeType) (ret InstanceSensitiveDataGetOtlpHttpTracesUrlRetType, ok bool) { + if arg == nil { + return ret, false + } + return *arg, true +} + +func setInstanceSensitiveDataGetOtlpHttpTracesUrlAttributeType(arg *InstanceSensitiveDataGetOtlpHttpTracesUrlAttributeType, val InstanceSensitiveDataGetOtlpHttpTracesUrlRetType) { + *arg = &val +} + +type InstanceSensitiveDataGetOtlpHttpTracesUrlArgType = string +type InstanceSensitiveDataGetOtlpHttpTracesUrlRetType = string + /* types and functions for otlpTracesUrl */ @@ -534,7 +597,8 @@ type InstanceSensitiveData struct { // REQUIRED GrafanaUseStackitSso InstanceSensitiveDatagetGrafanaUseStackitSsoAttributeType `json:"grafanaUseStackitSso" required:"true"` // REQUIRED - Instance InstanceSensitiveDataGetInstanceAttributeType `json:"instance" required:"true"` + Instance InstanceSensitiveDataGetInstanceAttributeType `json:"instance" required:"true"` + JaegerHttpTracesUrl InstanceSensitiveDataGetJaegerHttpTracesUrlAttributeType `json:"jaegerHttpTracesUrl,omitempty"` // REQUIRED JaegerTracesUrl InstanceSensitiveDataGetJaegerTracesUrlAttributeType `json:"jaegerTracesUrl" required:"true"` // REQUIRED @@ -555,6 +619,10 @@ type InstanceSensitiveData struct { MetricsUrl InstanceSensitiveDataGetMetricsUrlAttributeType `json:"metricsUrl" required:"true"` Name InstanceSensitiveDataGetNameAttributeType `json:"name,omitempty"` // REQUIRED + OtlpGrpcTracesUrl InstanceSensitiveDataGetOtlpGrpcTracesUrlAttributeType `json:"otlpGrpcTracesUrl" required:"true"` + // REQUIRED + OtlpHttpTracesUrl InstanceSensitiveDataGetOtlpHttpTracesUrlAttributeType `json:"otlpHttpTracesUrl" required:"true"` + // REQUIRED OtlpTracesUrl InstanceSensitiveDataGetOtlpTracesUrlAttributeType `json:"otlpTracesUrl" required:"true"` // REQUIRED Plan InstanceSensitiveDataGetPlanAttributeType `json:"plan" required:"true"` @@ -572,7 +640,7 @@ type _InstanceSensitiveData InstanceSensitiveData // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewInstanceSensitiveData(alertingUrl InstanceSensitiveDataGetAlertingUrlArgType, cluster InstanceSensitiveDataGetClusterArgType, dashboardUrl InstanceSensitiveDataGetDashboardUrlArgType, grafanaAdminPassword InstanceSensitiveDataGetGrafanaAdminPasswordArgType, grafanaAdminUser InstanceSensitiveDataGetGrafanaAdminUserArgType, grafanaPublicReadAccess InstanceSensitiveDatagetGrafanaPublicReadAccessArgType, grafanaUrl InstanceSensitiveDataGetGrafanaUrlArgType, grafanaUseStackitSso InstanceSensitiveDatagetGrafanaUseStackitSsoArgType, instance InstanceSensitiveDataGetInstanceArgType, jaegerTracesUrl InstanceSensitiveDataGetJaegerTracesUrlArgType, jaegerUiUrl InstanceSensitiveDataGetJaegerUiUrlArgType, logsPushUrl InstanceSensitiveDataGetLogsPushUrlArgType, logsUrl InstanceSensitiveDataGetLogsUrlArgType, metricsEndpointUrl InstanceSensitiveDataGetMetricsEndpointUrlArgType, metricsRetentionTime1h InstanceSensitiveDataGetMetricsRetentionTime1hArgType, metricsRetentionTime5m InstanceSensitiveDataGetMetricsRetentionTime5mArgType, metricsRetentionTimeRaw InstanceSensitiveDataGetMetricsRetentionTimeRawArgType, metricsUrl InstanceSensitiveDataGetMetricsUrlArgType, otlpTracesUrl InstanceSensitiveDataGetOtlpTracesUrlArgType, plan InstanceSensitiveDataGetPlanArgType, pushMetricsUrl InstanceSensitiveDataGetPushMetricsUrlArgType, targetsUrl InstanceSensitiveDataGetTargetsUrlArgType, zipkinSpansUrl InstanceSensitiveDataGetZipkinSpansUrlArgType) *InstanceSensitiveData { +func NewInstanceSensitiveData(alertingUrl InstanceSensitiveDataGetAlertingUrlArgType, cluster InstanceSensitiveDataGetClusterArgType, dashboardUrl InstanceSensitiveDataGetDashboardUrlArgType, grafanaAdminPassword InstanceSensitiveDataGetGrafanaAdminPasswordArgType, grafanaAdminUser InstanceSensitiveDataGetGrafanaAdminUserArgType, grafanaPublicReadAccess InstanceSensitiveDatagetGrafanaPublicReadAccessArgType, grafanaUrl InstanceSensitiveDataGetGrafanaUrlArgType, grafanaUseStackitSso InstanceSensitiveDatagetGrafanaUseStackitSsoArgType, instance InstanceSensitiveDataGetInstanceArgType, jaegerTracesUrl InstanceSensitiveDataGetJaegerTracesUrlArgType, jaegerUiUrl InstanceSensitiveDataGetJaegerUiUrlArgType, logsPushUrl InstanceSensitiveDataGetLogsPushUrlArgType, logsUrl InstanceSensitiveDataGetLogsUrlArgType, metricsEndpointUrl InstanceSensitiveDataGetMetricsEndpointUrlArgType, metricsRetentionTime1h InstanceSensitiveDataGetMetricsRetentionTime1hArgType, metricsRetentionTime5m InstanceSensitiveDataGetMetricsRetentionTime5mArgType, metricsRetentionTimeRaw InstanceSensitiveDataGetMetricsRetentionTimeRawArgType, metricsUrl InstanceSensitiveDataGetMetricsUrlArgType, otlpGrpcTracesUrl InstanceSensitiveDataGetOtlpGrpcTracesUrlArgType, otlpHttpTracesUrl InstanceSensitiveDataGetOtlpHttpTracesUrlArgType, otlpTracesUrl InstanceSensitiveDataGetOtlpTracesUrlArgType, plan InstanceSensitiveDataGetPlanArgType, pushMetricsUrl InstanceSensitiveDataGetPushMetricsUrlArgType, targetsUrl InstanceSensitiveDataGetTargetsUrlArgType, zipkinSpansUrl InstanceSensitiveDataGetZipkinSpansUrlArgType) *InstanceSensitiveData { this := InstanceSensitiveData{} setInstanceSensitiveDataGetAlertingUrlAttributeType(&this.AlertingUrl, alertingUrl) setInstanceSensitiveDataGetClusterAttributeType(&this.Cluster, cluster) @@ -592,6 +660,8 @@ func NewInstanceSensitiveData(alertingUrl InstanceSensitiveDataGetAlertingUrlArg setInstanceSensitiveDataGetMetricsRetentionTime5mAttributeType(&this.MetricsRetentionTime5m, metricsRetentionTime5m) setInstanceSensitiveDataGetMetricsRetentionTimeRawAttributeType(&this.MetricsRetentionTimeRaw, metricsRetentionTimeRaw) setInstanceSensitiveDataGetMetricsUrlAttributeType(&this.MetricsUrl, metricsUrl) + setInstanceSensitiveDataGetOtlpGrpcTracesUrlAttributeType(&this.OtlpGrpcTracesUrl, otlpGrpcTracesUrl) + setInstanceSensitiveDataGetOtlpHttpTracesUrlAttributeType(&this.OtlpHttpTracesUrl, otlpHttpTracesUrl) setInstanceSensitiveDataGetOtlpTracesUrlAttributeType(&this.OtlpTracesUrl, otlpTracesUrl) setInstanceSensitiveDataGetPlanAttributeType(&this.Plan, plan) setInstanceSensitiveDataGetPushMetricsUrlAttributeType(&this.PushMetricsUrl, pushMetricsUrl) @@ -763,6 +833,29 @@ func (o *InstanceSensitiveData) SetInstance(v InstanceSensitiveDataGetInstanceRe setInstanceSensitiveDataGetInstanceAttributeType(&o.Instance, v) } +// GetJaegerHttpTracesUrl returns the JaegerHttpTracesUrl field value if set, zero value otherwise. +func (o *InstanceSensitiveData) GetJaegerHttpTracesUrl() (res InstanceSensitiveDataGetJaegerHttpTracesUrlRetType) { + res, _ = o.GetJaegerHttpTracesUrlOk() + return +} + +// GetJaegerHttpTracesUrlOk returns a tuple with the JaegerHttpTracesUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InstanceSensitiveData) GetJaegerHttpTracesUrlOk() (ret InstanceSensitiveDataGetJaegerHttpTracesUrlRetType, ok bool) { + return getInstanceSensitiveDataGetJaegerHttpTracesUrlAttributeTypeOk(o.JaegerHttpTracesUrl) +} + +// HasJaegerHttpTracesUrl returns a boolean if a field has been set. +func (o *InstanceSensitiveData) HasJaegerHttpTracesUrl() bool { + _, ok := o.GetJaegerHttpTracesUrlOk() + return ok +} + +// SetJaegerHttpTracesUrl gets a reference to the given string and assigns it to the JaegerHttpTracesUrl field. +func (o *InstanceSensitiveData) SetJaegerHttpTracesUrl(v InstanceSensitiveDataGetJaegerHttpTracesUrlRetType) { + setInstanceSensitiveDataGetJaegerHttpTracesUrlAttributeType(&o.JaegerHttpTracesUrl, v) +} + // GetJaegerTracesUrl returns the JaegerTracesUrl field value func (o *InstanceSensitiveData) GetJaegerTracesUrl() (ret InstanceSensitiveDataGetJaegerTracesUrlRetType) { ret, _ = o.GetJaegerTracesUrlOk() @@ -939,6 +1032,40 @@ func (o *InstanceSensitiveData) SetName(v InstanceSensitiveDataGetNameRetType) { setInstanceSensitiveDataGetNameAttributeType(&o.Name, v) } +// GetOtlpGrpcTracesUrl returns the OtlpGrpcTracesUrl field value +func (o *InstanceSensitiveData) GetOtlpGrpcTracesUrl() (ret InstanceSensitiveDataGetOtlpGrpcTracesUrlRetType) { + ret, _ = o.GetOtlpGrpcTracesUrlOk() + return ret +} + +// GetOtlpGrpcTracesUrlOk returns a tuple with the OtlpGrpcTracesUrl field value +// and a boolean to check if the value has been set. +func (o *InstanceSensitiveData) GetOtlpGrpcTracesUrlOk() (ret InstanceSensitiveDataGetOtlpGrpcTracesUrlRetType, ok bool) { + return getInstanceSensitiveDataGetOtlpGrpcTracesUrlAttributeTypeOk(o.OtlpGrpcTracesUrl) +} + +// SetOtlpGrpcTracesUrl sets field value +func (o *InstanceSensitiveData) SetOtlpGrpcTracesUrl(v InstanceSensitiveDataGetOtlpGrpcTracesUrlRetType) { + setInstanceSensitiveDataGetOtlpGrpcTracesUrlAttributeType(&o.OtlpGrpcTracesUrl, v) +} + +// GetOtlpHttpTracesUrl returns the OtlpHttpTracesUrl field value +func (o *InstanceSensitiveData) GetOtlpHttpTracesUrl() (ret InstanceSensitiveDataGetOtlpHttpTracesUrlRetType) { + ret, _ = o.GetOtlpHttpTracesUrlOk() + return ret +} + +// GetOtlpHttpTracesUrlOk returns a tuple with the OtlpHttpTracesUrl field value +// and a boolean to check if the value has been set. +func (o *InstanceSensitiveData) GetOtlpHttpTracesUrlOk() (ret InstanceSensitiveDataGetOtlpHttpTracesUrlRetType, ok bool) { + return getInstanceSensitiveDataGetOtlpHttpTracesUrlAttributeTypeOk(o.OtlpHttpTracesUrl) +} + +// SetOtlpHttpTracesUrl sets field value +func (o *InstanceSensitiveData) SetOtlpHttpTracesUrl(v InstanceSensitiveDataGetOtlpHttpTracesUrlRetType) { + setInstanceSensitiveDataGetOtlpHttpTracesUrlAttributeType(&o.OtlpHttpTracesUrl, v) +} + // GetOtlpTracesUrl returns the OtlpTracesUrl field value func (o *InstanceSensitiveData) GetOtlpTracesUrl() (ret InstanceSensitiveDataGetOtlpTracesUrlRetType) { ret, _ = o.GetOtlpTracesUrlOk() @@ -1053,6 +1180,9 @@ func (o InstanceSensitiveData) ToMap() (map[string]interface{}, error) { if val, ok := getInstanceSensitiveDataGetInstanceAttributeTypeOk(o.Instance); ok { toSerialize["Instance"] = val } + if val, ok := getInstanceSensitiveDataGetJaegerHttpTracesUrlAttributeTypeOk(o.JaegerHttpTracesUrl); ok { + toSerialize["JaegerHttpTracesUrl"] = val + } if val, ok := getInstanceSensitiveDataGetJaegerTracesUrlAttributeTypeOk(o.JaegerTracesUrl); ok { toSerialize["JaegerTracesUrl"] = val } @@ -1083,6 +1213,12 @@ func (o InstanceSensitiveData) ToMap() (map[string]interface{}, error) { if val, ok := getInstanceSensitiveDataGetNameAttributeTypeOk(o.Name); ok { toSerialize["Name"] = val } + if val, ok := getInstanceSensitiveDataGetOtlpGrpcTracesUrlAttributeTypeOk(o.OtlpGrpcTracesUrl); ok { + toSerialize["OtlpGrpcTracesUrl"] = val + } + if val, ok := getInstanceSensitiveDataGetOtlpHttpTracesUrlAttributeTypeOk(o.OtlpHttpTracesUrl); ok { + toSerialize["OtlpHttpTracesUrl"] = val + } if val, ok := getInstanceSensitiveDataGetOtlpTracesUrlAttributeTypeOk(o.OtlpTracesUrl); ok { toSerialize["OtlpTracesUrl"] = val }