testData.ts 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. export const metricDescriptors = [
  2. {
  3. name: 'projects/grafana-prod/metricDescriptors/agent.googleapis.com/agent/api_request_count',
  4. labels: [
  5. {
  6. key: 'state',
  7. description: 'Request state',
  8. },
  9. ],
  10. metricKind: 'CUMULATIVE',
  11. valueType: 'INT64',
  12. unit: '1',
  13. description: 'API request count',
  14. displayName: 'API Request Count',
  15. type: 'agent.googleapis.com/agent/api_request_count',
  16. metadata: {
  17. launchStage: 'GA',
  18. samplePeriod: '60s',
  19. ingestDelay: '0s',
  20. },
  21. },
  22. {
  23. name: 'projects/grafana-prod/metricDescriptors/agent.googleapis.com/agent/log_entry_count',
  24. labels: [
  25. {
  26. key: 'response_code',
  27. description: 'HTTP response code',
  28. },
  29. ],
  30. metricKind: 'CUMULATIVE',
  31. valueType: 'INT64',
  32. unit: '1',
  33. description: 'Count of log entry writes',
  34. displayName: 'Log Entry Count',
  35. type: 'agent.googleapis.com/agent/log_entry_count',
  36. metadata: {
  37. launchStage: 'GA',
  38. samplePeriod: '60s',
  39. ingestDelay: '0s',
  40. },
  41. },
  42. ];