All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| DeleteOtelComponentMapping | Delete /otel-component-mappings/{identifier} | Deletes an OTel Component Mapping. |
| DeleteOtelRelationMapping | Delete /otel-relation-mappings/{identifier} | Deletes an OTel Relation Mapping. |
| GetOtelComponentMapping | Get /otel-component-mappings/{identifier} | Get an OTel Component Mapping. |
| GetOtelComponentMappingStatus | Get /otel-component-mappings/{identifier}/status | Get the status of an otel component mapping synchronization. |
| GetOtelComponentMappings | Get /otel-component-mappings | Get all otel component mappings. |
| GetOtelRelationMapping | Get /otel-relation-mappings/{identifier} | Get an OTel Relation Mapping. |
| GetOtelRelationMappingStatus | Get /otel-relation-mappings/{identifier}/status | Get the status of an otel relation mapping synchronization. |
| GetOtelRelationMappings | Get /otel-relation-mappings | Get all otel relation mappings. |
| UpsertOtelComponentMappings | Put /otel-component-mappings | Upserts (creates/updates) an OTel Component Mappings. |
| UpsertOtelRelationMappings | Put /otel-relation-mappings | Upserts (creates/updates) an OTel Relation Mappings. |
DeleteOtelComponentMapping(ctx, identifier).Execute()
Deletes an OTel Component Mapping.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
identifier := "identifier_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.OtelMappingApi.DeleteOtelComponentMapping(context.Background(), identifier).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `OtelMappingApi.DeleteOtelComponentMapping``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| identifier | string |
Other parameters are passed through a pointer to a apiDeleteOtelComponentMappingRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
(empty response body)
ApiToken, ServiceBearer, ServiceToken
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteOtelRelationMapping(ctx, identifier).Execute()
Deletes an OTel Relation Mapping.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
identifier := "identifier_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.OtelMappingApi.DeleteOtelRelationMapping(context.Background(), identifier).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `OtelMappingApi.DeleteOtelRelationMapping``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| identifier | string |
Other parameters are passed through a pointer to a apiDeleteOtelRelationMappingRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
(empty response body)
ApiToken, ServiceBearer, ServiceToken
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OtelComponentMapping GetOtelComponentMapping(ctx, identifier).Execute()
Get an OTel Component Mapping.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
identifier := "identifier_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.OtelMappingApi.GetOtelComponentMapping(context.Background(), identifier).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `OtelMappingApi.GetOtelComponentMapping``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetOtelComponentMapping`: OtelComponentMapping
fmt.Fprintf(os.Stdout, "Response from `OtelMappingApi.GetOtelComponentMapping`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| identifier | string |
Other parameters are passed through a pointer to a apiGetOtelComponentMappingRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
ApiToken, ServiceBearer, ServiceToken
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OtelMappingStatus GetOtelComponentMappingStatus(ctx, identifier).Execute()
Get the status of an otel component mapping synchronization.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
identifier := "identifier_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.OtelMappingApi.GetOtelComponentMappingStatus(context.Background(), identifier).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `OtelMappingApi.GetOtelComponentMappingStatus``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetOtelComponentMappingStatus`: OtelMappingStatus
fmt.Fprintf(os.Stdout, "Response from `OtelMappingApi.GetOtelComponentMappingStatus`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| identifier | string |
Other parameters are passed through a pointer to a apiGetOtelComponentMappingStatusRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
ApiToken, ServiceBearer, ServiceToken
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]OtelMappingItem GetOtelComponentMappings(ctx).Execute()
Get all otel component mappings.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.OtelMappingApi.GetOtelComponentMappings(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `OtelMappingApi.GetOtelComponentMappings``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetOtelComponentMappings`: []OtelMappingItem
fmt.Fprintf(os.Stdout, "Response from `OtelMappingApi.GetOtelComponentMappings`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetOtelComponentMappingsRequest struct via the builder pattern
ApiToken, ServiceBearer, ServiceToken
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OtelRelationMapping GetOtelRelationMapping(ctx, identifier).Execute()
Get an OTel Relation Mapping.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
identifier := "identifier_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.OtelMappingApi.GetOtelRelationMapping(context.Background(), identifier).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `OtelMappingApi.GetOtelRelationMapping``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetOtelRelationMapping`: OtelRelationMapping
fmt.Fprintf(os.Stdout, "Response from `OtelMappingApi.GetOtelRelationMapping`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| identifier | string |
Other parameters are passed through a pointer to a apiGetOtelRelationMappingRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
ApiToken, ServiceBearer, ServiceToken
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OtelMappingStatus GetOtelRelationMappingStatus(ctx, identifier).Execute()
Get the status of an otel relation mapping synchronization.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
identifier := "identifier_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.OtelMappingApi.GetOtelRelationMappingStatus(context.Background(), identifier).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `OtelMappingApi.GetOtelRelationMappingStatus``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetOtelRelationMappingStatus`: OtelMappingStatus
fmt.Fprintf(os.Stdout, "Response from `OtelMappingApi.GetOtelRelationMappingStatus`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| identifier | string |
Other parameters are passed through a pointer to a apiGetOtelRelationMappingStatusRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
ApiToken, ServiceBearer, ServiceToken
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]OtelMappingItem GetOtelRelationMappings(ctx).Execute()
Get all otel relation mappings.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.OtelMappingApi.GetOtelRelationMappings(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `OtelMappingApi.GetOtelRelationMappings``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetOtelRelationMappings`: []OtelMappingItem
fmt.Fprintf(os.Stdout, "Response from `OtelMappingApi.GetOtelRelationMappings`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetOtelRelationMappingsRequest struct via the builder pattern
ApiToken, ServiceBearer, ServiceToken
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OtelMappingItem UpsertOtelComponentMappings(ctx).UpsertOtelComponentMappingsRequest(upsertOtelComponentMappingsRequest).Execute()
Upserts (creates/updates) an OTel Component Mappings.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
upsertOtelComponentMappingsRequest := *openapiclient.NewUpsertOtelComponentMappingsRequest("Identifier_example", "Name_example", *openapiclient.NewOtelInput([]openapiclient.OtelInputSignal{openapiclient.OtelInputSignal("TRACES")}, *openapiclient.NewOtelInputResource()), *openapiclient.NewOtelComponentMappingOutput("Identifier_example", "Name_example", "TypeName_example", "LayerName_example", "DomainName_example"), int64(123)) // UpsertOtelComponentMappingsRequest | Otel Component Mapping to create/update
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.OtelMappingApi.UpsertOtelComponentMappings(context.Background()).UpsertOtelComponentMappingsRequest(upsertOtelComponentMappingsRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `OtelMappingApi.UpsertOtelComponentMappings``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpsertOtelComponentMappings`: OtelMappingItem
fmt.Fprintf(os.Stdout, "Response from `OtelMappingApi.UpsertOtelComponentMappings`: %v\n", resp)
}Other parameters are passed through a pointer to a apiUpsertOtelComponentMappingsRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| upsertOtelComponentMappingsRequest | UpsertOtelComponentMappingsRequest | Otel Component Mapping to create/update |
ApiToken, ServiceBearer, ServiceToken
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OtelMappingItem UpsertOtelRelationMappings(ctx).UpsertOtelRelationMappingsRequest(upsertOtelRelationMappingsRequest).Execute()
Upserts (creates/updates) an OTel Relation Mappings.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
upsertOtelRelationMappingsRequest := *openapiclient.NewUpsertOtelRelationMappingsRequest("Identifier_example", "Name_example", *openapiclient.NewOtelInput([]openapiclient.OtelInputSignal{openapiclient.OtelInputSignal("TRACES")}, *openapiclient.NewOtelInputResource()), *openapiclient.NewOtelRelationMappingOutput("SourceId_example", "TargetId_example", "TypeName_example"), int64(123)) // UpsertOtelRelationMappingsRequest | Otel Relation Mapping to create/update
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.OtelMappingApi.UpsertOtelRelationMappings(context.Background()).UpsertOtelRelationMappingsRequest(upsertOtelRelationMappingsRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `OtelMappingApi.UpsertOtelRelationMappings``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpsertOtelRelationMappings`: OtelMappingItem
fmt.Fprintf(os.Stdout, "Response from `OtelMappingApi.UpsertOtelRelationMappings`: %v\n", resp)
}Other parameters are passed through a pointer to a apiUpsertOtelRelationMappingsRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| upsertOtelRelationMappingsRequest | UpsertOtelRelationMappingsRequest | Otel Relation Mapping to create/update |
ApiToken, ServiceBearer, ServiceToken
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]