-
Notifications
You must be signed in to change notification settings - Fork 26
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
Added v7 and OpenTelemetry Stream support #181
base: main
Are you sure you want to change the base?
Conversation
type Stream struct { | ||
ID string `json:"id,omitempty"` | ||
Enabled bool `json:"enabled,omitempty"` | ||
Type string `json:"type,omitempty"` | ||
EndpointType string `json:"endpointType,omitempty"` | ||
StreamEndpointUrl string `json:"streamEndpointUrl,omitempty"` | ||
DataModelVersion string `json:"dataModelVersion,omitempty"` | ||
TestMatch []StreamTestMatch `json:"testMatch,omitempty"` | ||
TagMatch []StreamTagMatch `json:"tagMatch,omitempty"` | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was it intentional to omit these fields:
filters
exporterConfig
customHeaders
if sc.c.Limiter != nil { | ||
sc.c.Limiter.Wait() | ||
} | ||
endpoint := sc.c.APIEndpoint + path + ".json" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We won't want the .json
for v7
endpoint := sc.c.APIEndpoint + path + ".json" | |
endpoint := sc.c.APIEndpoint + path |
@ribejara-te @pcortada-te ^^ just in case you missed this. BTW @antonjim-te has some thoughts too to allow for traces in this too. |
StreamEndpointUrl string `json:"streamEndpointUrl,omitempty"` | ||
DataModelVersion string `json:"dataModelVersion,omitempty"` | ||
TestMatch []StreamTestMatch `json:"testMatch,omitempty"` | ||
TagMatch []StreamTagMatch `json:"tagMatch,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TagMatch []StreamTagMatch `json:"tagMatch,omitempty"` | |
TagMatch []StreamTagMatch `json:"tagMatch,omitempty"` | |
Signal string `json:"signal,omitempty"` | |
CustomHeaders map[string]string `json:"customHeaders,omitempty"` |
We are going to need them
signal
to selected betweentrace
andmetric
customHeaders
to add the authentication headers
No description provided.