OpenSource-Hub

grafana

애플리케이션

grafana/grafana

메트릭, 로그 및 트레이싱을 지원하는 오픈 소스 옵저버빌리티 및 데이터 시각화 플랫폼입니다.

개요

Grafana는 다양한 데이터 소스의 메트릭, 로그 및 트레이스에 대한 쿼리, 시각화 및 알림을 지원합니다. 동적 대시보드, 대화형 탐색 기능 및 강력한 알림 엔진을 제공합니다. 플랫폼은 플러그인 확장을 지원합니다.

README 미리보기

\n\n\nThe open-source platform for monitoring and observability\n\n[](LICENSE)\n[](https://goreportcard.com/report/github.com/grafana/grafana)\n\nGrafana allows you to query, visualize, alert on and understand your metrics no matter where they are stored. Create, explore, and share dashboards with your team and foster a data-driven culture:\n\n- **Visualizations:** Fast and flexible client side graphs with a multitude of options. Panel plugins offer many different ways to visualize metrics and logs.\n- **Dynamic Dashboards:** Create dynamic & reusable dashboards with template variables that appear as dropdowns at the top of the dashboard.\n- **Explore Metrics:** Explore your data through ad-hoc queries and dynamic drilldown. Split view and compare different time ranges, queries and data sources side by side.\n- **Explore Logs:** Experience the magic of switching from metrics to logs with preserved label filters. Quickly search through all your logs or streaming them live.\n- **Alerting:** Visually define alert rules for your most important metrics. Grafana will continuously evaluate and send notifications to systems like Slack, PagerDuty, VictorOps, OpsGenie.\n- **Mixed Data Sources:** Mix different data sources in the same graph! You can specify a data source on a per-query basis. This works for even custom datasources.\n\n## Get started\n\n- [Get Grafana](https://grafana.com/get)\n- [Installation guides](https://grafana.com/docs/grafana/latest/setup-grafana/installation/)\n\nUnsure if Grafana is for you? Watch Grafana in action on [play.grafana.org](https://play.grafana.org/)!\n\n## Documentation\n\nThe Grafana documentation is available at [grafana.com/docs](https://grafana.com/docs/).\n\n## Contributing\n\nIf you're interested in contributing to the Grafana project:\n\n- Start by reading the [Contributing guide](https://github.com/grafana/grafana/blob/HEAD/CONTRIBUTING.md).\n- Learn how to set up your local environment, in our [Developer guide](https://github.co

FAQ (4)

문제 해결
메타데이터가 누락된 경우 Signal Explorer에서 `*_total`과 같은 메트릭에 "Unknown type"이 표시되는 문제를 해결하려면 어떻게 해야 하나요?

다음 PR이 포함된 Grafana/Cloud 릴리스로 업그레이드하세요: "Explore: Infer metric type from its name in the Signal Explorer when metadata is missing." 이 수정은 **Unknown type**으로 폴백하기 전에 메트릭 이름 휴리스틱을 적용합니다. 예를 들어, grafanacloud_instance_discarded_attributed_samples_total은 _total 접미사 때문에 카운터로 식별됩니다. 백포팅할 때는 grafana/metrics-drilldown의 로직을 재사용하세요: src/shared/GmdVizPanel/matchers/getMetricType.ts 및 src/shared/GmdVizPanel/matchers/isCounterMetric.ts (main에서 현재 경로를 확인하세요. 이 이슈는 커밋 97ec532를 참조합니다).

원본 Issue #132821
문제 해결
Signal Explorer에서 레이블 값이 잘렸을 때 전체 값을 확인하려면 어떻게 해야 하나요?

이 문제는 Signal Explorer 레일에서 잘린 레이블 키와 값에 호버 툴팁을 추가하여 해결되었습니다. PR "Signal Explorer: Reveal full label keys and values on hover"가 포함된 릴리스로 업그레이드한 다음, 잘린 레이블 위에 마우스를 올려 전체 텍스트를 확인하세요. 이전 버전에서는 이 수정 사항이 포함된 빌드를 받는 것 외에는 제품 내 해결 방법이 없습니다.

원본 Issue #132822
문제 해결
업그레이드 후 gauge가 활성화된 Grafana singlestat 패널이 gauge 대신 stat으로 마이그레이션되는 이유는 무엇인가요?

자동 마이그레이션은 모든 singlestat과 grafana-singlestat-panel을 stat로 매핑하면서 기존 gauge.show 설정을 무시합니다. 마이그레이션된 타입을 할당하기 전에 public/app/features/dashboard/state/PanelModel.ts의 restoreModel() 내부에서 패널 타입 선택 로직을 수정하세요:

let newType = getPanelPluginToMigrateTo(this);

if (this.type === 'singlestat' || this.type === 'grafana-singlestat-panel') {
  if ((this as any).gauge?.show) {
    newType = 'gauge';
  } else {
    newType = 'stat';
  }
}

if (newType) {
  this.autoMigrateFrom = this.type;
  this.type = newType;
}

이는 이전 v24 동작을 유지합니다: gauge.show === true인 패널은 gauge로 마이그레이션되고, 나머지 모든 singlestat 패널은 stat로 마이그레이션됩니다. gauge.show: true가 설정된 레거시 singlestat 대시보드에 대해 마이그레이션을 실행하고 결과 패널 타입이 gauge인지 확인하는 회귀 테스트를 추가하세요.

원본 Issue #112236
how_to
Sort by transformation을 사용하여 Grafana 테이블을 여러 열 기준으로 정렬하려면 어떻게 해야 하나요?

단일 **Sort by** transformation을 사용하고 여러 필드를 추가하세요. 패널에서 **Transformations → Add transformation → Sort by**로 이동하여 첫 번째 필드를 추가한 다음 추가 필드를 더하세요. 필드를 우선순위 순서로 드래그하세요. 첫 번째 필드가 기본 정렬 기준이 되고, 이후 각 필드는 이전 필드에서 동률이 발생한 항목을 구분합니다. 각 필드별로 오름차순/내림차순을 개별적으로 설정하세요. 여러 개의 Sort by transformation을 별도로 중첩하지 마세요. 각 transformation이 전체 데이터셋을 다시 정렬하기 때문에 이전 정렬 순서가 유지되지 않습니다. Grafana UI에서 정렬 필드를 하나만 사용할 수 있는 경우, 다중 필드 Sort by transformation PR이 포함된 릴리스로 업그레이드하세요.

원본 Issue #77141