Skip to content

Commit

Permalink
Merge branch 'master' into https-proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
HVBE committed Feb 15, 2022
2 parents 506c02e + 1b94fe6 commit 6c4bb2c
Show file tree
Hide file tree
Showing 6 changed files with 112 additions and 3 deletions.
12 changes: 10 additions & 2 deletions api/integreatly/v1alpha1/grafanadatasource_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,9 @@ type GrafanaDataSourceJsonData struct {
MaxLines int `json:"maxLines,omitempty"`
DerivedFields []GrafanaDataSourceJsonDerivedFields `json:"derivedFields,omitempty"`
// Fields for Prometheus data sources
CustomQueryParameters string `json:"customQueryParameters,omitempty"`
HTTPMethod string `json:"httpMethod,omitempty"`
CustomQueryParameters string `json:"customQueryParameters,omitempty"`
HTTPMethod string `json:"httpMethod,omitempty"`
ExemplarTraceIdDestinations []GrafanaDataSourceJsonExemplarTraceIdDestinations `json:"exemplarTraceIdDestinations,omitempty"`
// Fields for tracing data sources
TracesToLogs GrafanaDataSourceJsonTracesToLogs `json:"tracesToLogs,omitempty"`
ServiceMap GrafanaDataSourceJsonServiceMap `json:"serviceMap,omitempty"`
Expand Down Expand Up @@ -191,6 +192,13 @@ type GrafanaDataSourceJsonDerivedFields struct {
Url string `json:"url,omitempty"`
}

type GrafanaDataSourceJsonExemplarTraceIdDestinations struct {
DatasourceUid string `json:"datasourceUid,omitempty"`
Name string `json:"name,omitempty"`
Url string `json:"url,omitempty"`
UrlDisplayLabel string `json:"urlDisplayLabel,omitempty"`
}

type GrafanaDataSourceJsonTracesToLogs struct {
DatasourceUid string `json:"datasourceUid,omitempty"`
SpanEndTimeShift string `json:"spanEndTimeShift,omitempty"`
Expand Down
20 changes: 20 additions & 0 deletions api/integreatly/v1alpha1/zz_generated.deepcopy.go

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

13 changes: 13 additions & 0 deletions config/crd/bases/integreatly.org_grafanadatasources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,19 @@ spec:
type: string
esVersion:
type: string
exemplarTraceIdDestinations:
items:
properties:
datasourceUid:
type: string
name:
type: string
url:
type: string
urlDisplayLabel:
type: string
type: object
type: array
githubUrl:
description: Fields for Github data sources
type: string
Expand Down
2 changes: 1 addition & 1 deletion controllers/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package constants

const (
GrafanaImage = "docker.io/grafana/grafana"
GrafanaVersion = "7.5.11"
GrafanaVersion = "7.5.15"
GrafanaServiceAccountName = "grafana-serviceaccount"
GrafanaServiceName = "grafana-service"
GrafanaDataStorageName = "grafana-pvc"
Expand Down
13 changes: 13 additions & 0 deletions deploy/manifests/latest/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,19 @@ spec:
type: string
esVersion:
type: string
exemplarTraceIdDestinations:
items:
properties:
datasourceUid:
type: string
name:
type: string
url:
type: string
urlDisplayLabel:
type: string
type: object
type: array
githubUrl:
description: Fields for Github data sources
type: string
Expand Down
55 changes: 55 additions & 0 deletions documentation/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,13 @@ GrafanaDataSourceJsonData contains the most common json options See https://graf
<br/>
</td>
<td>false</td>
</tr><tr>
<td><b><a href="#grafanadatasourcespecdatasourcesindexjsondataexemplartraceiddestinationsindex">exemplarTraceIdDestinations</a></b></td>
<td>[]object</td>
<td>
<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>githubUrl</b></td>
<td>string</td>
Expand Down Expand Up @@ -1146,6 +1153,54 @@ GrafanaDataSourceJsonData contains the most common json options See https://graf
</table>


### GrafanaDataSource.spec.datasources[index].jsonData.exemplarTraceIdDestinations[index]
<sup><sup>[↩ Parent](#grafanadatasourcespecdatasourcesindexjsondata)</sup></sup>





<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
<th>Required</th>
</tr>
</thead>
<tbody><tr>
<td><b>datasourceUid</b></td>
<td>string</td>
<td>
<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>name</b></td>
<td>string</td>
<td>
<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>url</b></td>
<td>string</td>
<td>
<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>urlDisplayLabel</b></td>
<td>string</td>
<td>
<br/>
</td>
<td>false</td>
</tr></tbody>
</table>


### GrafanaDataSource.spec.datasources[index].jsonData.nodeGraph
<sup><sup>[↩ Parent](#grafanadatasourcespecdatasourcesindexjsondata)</sup></sup>

Expand Down

0 comments on commit 6c4bb2c

Please sign in to comment.