mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Update backend * Update frontend * Keep old plugin id * Update docs * Place doc images to a new directory * Legacy support for stackdriver-auto alignment * Consistent plugin name * Apply suggestions from code review Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com> Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com> * Update docs * Update public/app/plugins/datasource/cloud-monitoring/README.md Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com> * Add reference to the data source formerly being named Stackdriver * Update pkg/models/datasource.go Co-authored-by: Carl Bergquist <carl@grafana.com> * Fix gofmt Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com> Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com> Co-authored-by: Carl Bergquist <carl@grafana.com>
43 lines
1.0 KiB
TypeScript
43 lines
1.0 KiB
TypeScript
export const metricDescriptors = [
|
|
{
|
|
name: 'projects/grafana-prod/metricDescriptors/agent.googleapis.com/agent/api_request_count',
|
|
labels: [
|
|
{
|
|
key: 'state',
|
|
description: 'Request state',
|
|
},
|
|
],
|
|
metricKind: 'CUMULATIVE',
|
|
valueType: 'INT64',
|
|
unit: '1',
|
|
description: 'API request count',
|
|
displayName: 'API Request Count',
|
|
type: 'agent.googleapis.com/agent/api_request_count',
|
|
metadata: {
|
|
launchStage: 'GA',
|
|
samplePeriod: '60s',
|
|
ingestDelay: '0s',
|
|
},
|
|
},
|
|
{
|
|
name: 'projects/grafana-prod/metricDescriptors/agent.googleapis.com/agent/log_entry_count',
|
|
labels: [
|
|
{
|
|
key: 'response_code',
|
|
description: 'HTTP response code',
|
|
},
|
|
],
|
|
metricKind: 'CUMULATIVE',
|
|
valueType: 'INT64',
|
|
unit: '1',
|
|
description: 'Count of log entry writes',
|
|
displayName: 'Log Entry Count',
|
|
type: 'agent.googleapis.com/agent/log_entry_count',
|
|
metadata: {
|
|
launchStage: 'GA',
|
|
samplePeriod: '60s',
|
|
ingestDelay: '0s',
|
|
},
|
|
},
|
|
];
|