alertmanager
Prometheus Alertmanager
파일 탐색기
- bug_report.yml
- config.yml
- feature_request.yml
- approve-workflows.yml
- build-release-branch.yml
- ci.yml
- container_description.yml
- govulncheck.yml
- mixin.yml
- publish.yml
- release.yml
- stale.yml
- ui-ci.yml
- dependabot.yml
- pull_request_template.md
- alert.go
- alert_test.go
- state.go
- status.go
- validate.go
- validate_test.go
- metrics.go
- status.connect.go
- status.pb.go
- alert_client.go
- get_alerts_parameters.go
- get_alerts_responses.go
- post_alerts_parameters.go
- post_alerts_responses.go
- alertgroup_client.go
- get_alert_groups_parameters.go
- get_alert_groups_responses.go
- general_client.go
- get_status_parameters.go
- get_status_responses.go
- get_receivers_parameters.go
- get_receivers_responses.go
- receiver_client.go
- delete_silence_parameters.go
- delete_silence_responses.go
- get_silence_parameters.go
- get_silence_responses.go
- get_silences_parameters.go
- get_silences_responses.go
- post_silences_parameters.go
- post_silences_responses.go
- silence_client.go
- alertmanager_api_client.go
- alert.go
- alert_group.go
- alert_groups.go
- alert_status.go
- alertmanager_config.go
- alertmanager_status.go
- cluster_status.go
- gettable_alert.go
- gettable_alerts.go
- gettable_silence.go
- gettable_silences.go
- label_set.go
- matcher.go
- matchers.go
- peer_status.go
- postable_alert.go
- postable_alerts.go
- postable_silence.go
- receiver.go
- receiver_reference.go
- silence.go
- silence_status.go
- version_info.go
- get_alerts.go
- get_alerts_parameters.go
- get_alerts_responses.go
- get_alerts_urlbuilder.go
- post_alerts.go
- post_alerts_parameters.go
- post_alerts_responses.go
- post_alerts_urlbuilder.go
- get_alert_groups.go
- get_alert_groups_parameters.go
- get_alert_groups_responses.go
- get_alert_groups_urlbuilder.go
- get_status.go
- get_status_parameters.go
- get_status_responses.go
- get_status_urlbuilder.go
- get_receivers.go
- get_receivers_parameters.go
- get_receivers_responses.go
- get_receivers_urlbuilder.go
- delete_silence.go
- delete_silence_parameters.go
- delete_silence_responses.go
- delete_silence_urlbuilder.go
- get_silence.go
- get_silence_parameters.go
- get_silence_responses.go
- get_silence_urlbuilder.go
- get_silences.go
- get_silences_parameters.go
- get_silences_responses.go
- get_silences_urlbuilder.go
- post_silences.go
- post_silences_parameters.go
- post_silences_responses.go
- post_silences_urlbuilder.go
- alertmanager_api.go
- configure_alertmanager.go
- doc.go
- embedded_spec.go
- server.go
- api.go
- api_test.go
- compat.go
- openapi.yaml
- testing.go
- api.go
- v1_deprecation_router.go
- app.go
- cluster.go
- cluster_test.go
- lifecycle.go
- lifecycle_test.go
- listen.go
- listen_test.go
- metrics.go
- options.go
- options_test.go
- reloader.go
- reloader_test.go
- url.go
- url_test.go
- amtool.bad.yml
- amtool.good1.yml
- amtool.good2.yml
- http_config.bad.yml
- http_config.basic_auth.good.yml
- http_config.good.yml
- config.go
- config_test.go
- http_config.go
- format.go
- format_extended.go
- format_json.go
- format_simple.go
- sort.go
- conf.bad.yml
- conf.good.yml
- conf.routing-reverted.yml
- conf.routing.yml
- alert.go
- alert_add.go
- alert_query.go
- check_config.go
- check_config_test.go
- cluster.go
- config.go
- root.go
- routing.go
- silence.go
- silence_add.go
- silence_expire.go
- silence_import.go
- silence_query.go
- silence_update.go
- template.go
- template_render.go
- test_routing.go
- test_routing_test.go
- utils.go
- cluster.pb.go
- cluster.proto
- ca-config.json
- ca-csr.json
- ca-key.pem
- ca.csr
- ca.pem
- node1-csr.json
- node1-key.pem
- node1.csr
- node1.pem
- node2-csr.json
- node2-key.pem
- node2.csr
- node2.pem
- empty_tls_config.yml
- tls_config_node1.yml
- tls_config_node2.yml
- tls_config_with_missing_client.yml
- tls_config_with_missing_server.yml
- tls_config_with_null_client.yml
- advertise.go
- advertise_test.go
- channel.go
- channel_test.go
- cluster.go
- cluster_test.go
- connection_pool.go
- delegate.go
- tls_config.go
- tls_connection.go
- tls_connection_test.go
- tls_transport.go
- tls_transport_test.go
- main.go
- main.go
- README.md
- inhibitrule.go
- inhibitrule_test.go
- matchers.go
- matchers_test.go
- notifierconfig.go
- url.go
- url_test.go
- receiver.go
- receiver_test.go
- conf.empty-fields.yml
- conf.good.yml
- conf.group-by-all.yml
- conf.http-config.good.yml
- conf.mattermost-both-webhook-url-and-file.yml
- conf.mattermost-default-webhook-url-file.yml
- conf.mattermost-default-webhook-url.yml
- conf.mattermost-no-webhook-url.yml
- conf.mattermost-valid-receiver-both-webhook-url-and-file.yml
- conf.nil-match_re-route.yml
- conf.nil-source_match_re-inhibition.yml
- conf.nil-target_match_re-inhibition.yml
- conf.opsgenie-both-file-and-apikey.yml
- conf.opsgenie-default-apikey-file.yml
- conf.opsgenie-default-apikey-old-team.yml
- conf.opsgenie-default-apikey.yml
- conf.opsgenie-no-apikey.yml
- conf.rocketchat-both-token-and-tokenfile.yml
- conf.rocketchat-both-tokenid-and-tokenidfile.yml
- conf.rocketchat-default-token-file.yml
- conf.rocketchat-default-token.yml
- conf.rocketchat-no-token.yml
- conf.slack-both-file-and-token.yml
- conf.slack-both-file-and-url.yml
- conf.slack-both-url-and-token.yml
- conf.slack-default-api-url-file.yml
- conf.slack-default-app-token.yml
- conf.slack-no-api-url-or-token.yml
- conf.slack-update-message-and-webhook.yml
- conf.smtp-both-password-and-file.yml
- conf.smtp-no-username-or-password.yml
- conf.smtp-password-global-and-local.yml
- conf.sns-invalid.yml
- conf.sns-topic-arn.yml
- conf.telegram-both-bot-token-and-file.yml
- conf.telegram-default-bot-token-file.yml
- conf.telegram-default-bot-token.yml
- conf.telegram-no-bot-token.yml
- conf.telegram-valid-receiver-both-bot-token-and-file.yml
- conf.victorops-both-file-and-apikey.yml
- conf.victorops-default-apikey-file.yml
- conf.victorops-default-apikey.yml
- conf.victorops-no-apikey.yml
- conf.wechat-both-file-and-secret.yml
- conf.wechat-default-api-secret-file.yml
- conf.wechat-no-api-secret.yml
- config.go
- config_fuzz_test.go
- config_test.go
- coordinator.go
- coordinator_test.go
- notifiers.go
- notifiers_test.go
- dispatch.go
- dispatch_bench_test.go
- dispatch_test.go
- metric.go
- route.go
- route_test.go
- overview.libsonnet
- .gitignore
- .lint
- alerts.jsonnet
- alerts.libsonnet
- config.libsonnet
- dashboards.jsonnet
- dashboards.libsonnet
- jsonnetfile.json
- jsonnetfile.lock.json
- Makefile
- mixin.libsonnet
- README.md
- secure-cluster-traffic.md
- route_labels.yml
- simple.yml
- arch.svg
- arch.xml
- alertmanager.md
- alerts_api.md
- configuration.md
- high_availability.md
- https.md
- index.md
- integrations.md
- management_api.md
- notification_examples.md
- notifications.md
- overview.md
- eventrecorder.pb.go
- eventrecorder.proto
- config.go
- events.go
- events_test.go
- file.go
- file_test.go
- kafka.go
- kafka_test.go
- metrics.go
- recorder.go
- recorder_test.go
- stdout.go
- stdout_test.go
- webhook.go
- webhook_test.go
- ca-config.json
- ca-csr.json
- ca-key.pem
- ca.csr
- ca.pem
- node1-csr.json
- node1-key.pem
- node1.csr
- node1.pem
- node2-csr.json
- node2-key.pem
- node2.csr
- node2.pem
- Makefile
- Procfile
- README.md
- tls_config_node1.yml
- tls_config_node2.yml
- alertmanager.yml
- send_alerts.sh
- echo.go
- teams.tmpl
- featurecontrol.go
- featurecontrol_test.go
- httpserver.go
- httpserver_test.go
- index.go
- inhibit.go
- inhibit_bench_test.go
- inhibit_test.go
- go.mod
- go.sum
- broker.go
- broker_test.go
- client.go
- client_test.go
- errors.go
- errors_test.go
- kafka.go
- kafka_test.go
- bucket.go
- bucket_test.go
- alert.go
- alert_test.go
- context.go
- group.go
- group_test.go
- marker.go
- status.go
- parse.go
- parse_test.go
- compliance_test.go
- bench_test.go
- fuzz_test.go
- lexer.go
- lexer_test.go
- parse.go
- parse_test.go
- token.go
- nflog.pb.go
- nflog.proto
- set.go
- set_test.go
- nflog.go
- nflog_test.go
- config.go
- discord.go
- discord_test.go
- auth-local.yml
- auth.yml
- noauth-local.yml
- noauth.yml
- email.go
- email_test.go
- config.go
- incidentio.go
- incidentio_test.go
- config.go
- jira.go
- jira_test.go
- types.go
- config.go
- config_test.go
- mattermost.go
- mattermost_test.go
- config.go
- msteams.go
- msteams_test.go
- config.go
- msteamsv2.go
- msteamsv2_test.go
- api_key_file
- config.go
- config_test.go
- opsgenie.go
- opsgenie_test.go
- config.go
- config_test.go
- pagerduty.go
- pagerduty_test.go
- config.go
- config_test.go
- pushover.go
- pushover_test.go
- config.go
- rocketchat.go
- rocketchat_test.go
- slack.go
- slack_test.go
- types.go
- config.go
- config_test.go
- sns.go
- sns_test.go
- config.go
- config_test.go
- telegram.go
- telegram_test.go
- test.go
- victorops.go
- victorops_test.go
- webex.go
- webex_test.go
- config.go
- config_test.go
- webhook.go
- webhook_test.go
- wechat.go
- wechat_test.go
- cluster_stages.go
- context.go
- dedup_stage.go
- event.go
- metrics.go
- mute.go
- mute_test.go
- notify.go
- notify_test.go
- retry_stage.go
- set_notifies_stage.go
- util.go
- util_test.go
- matcher.go
- matcher_test.go
- parse.go
- parse_test.go
- modtimevfs.go
- README.md
- status.proto
- mem.go
- mem_test.go
- provider.go
- genproto.sh
- swagger.sh
- silence.pb.go
- silence.proto
- cache.go
- cache_test.go
- silence.go
- silence_bench_test.go
- silence_test.go
- state.go
- state_test.go
- store.go
- store_test.go
- .gitignore
- default.tmpl
- email.html
- email.tmpl
- inline-css.js
- Makefile
- package-lock.json
- package.json
- template.go
- template_test.go
- cli_test.go
- acceptance.go
- mock.go
- acceptance.go
- collector.go
- mock.go
- api_test.go
- cluster_test.go
- inhibit_test.go
- send_test.go
- silence_test.go
- utf8_test.go
- web_test.go
- acceptance.go
- mock.go
- util.go
- timeinterval.go
- timeinterval_test.go
- ca.cer
- config.go
- http.go
- tracing.go
- tracing_test.go
- types.go
- favicon.ico
- ReviewConfig.elm
- elm.json
- Api.elm
- elm-datepicker.css
- Alert.elm
- AlertGroup.elm
- AlertmanagerConfig.elm
- AlertmanagerStatus.elm
- AlertStatus.elm
- ClusterStatus.elm
- GettableAlert.elm
- GettableSilence.elm
- InlineResponse200.elm
- Matcher.elm
- PeerStatus.elm
- PostableAlert.elm
- PostableSilence.elm
- Receiver.elm
- ReceiverReference.elm
- Silence.elm
- SilenceStatus.elm
- VersionInfo.elm
- Api.elm
- Decoders.elm
- Types.elm
- Api.elm
- Types.elm
- Types.elm
- Updates.elm
- Utils.elm
- Views.elm
- Api.elm
- Date.elm
- Filter.elm
- FormValidation.elm
- Keyboard.elm
- List.elm
- Match.elm
- String.elm
- Types.elm
- Views.elm
- AlertView.elm
- Parsing.elm
- Types.elm
- Updates.elm
- Views.elm
- Types.elm
- Updates.elm
- Views.elm
- Types.elm
- Updates.elm
- Views.elm
- Types.elm
- Views.elm
- Views.elm
- Types.elm
- Updates.elm
- Views.elm
- Parsing.elm
- Types.elm
- Updates.elm
- Views.elm
- Alert.elm
- AlertCompact.elm
- AlertListCompact.elm
- Dialog.elm
- SilencePreview.elm
- Types.elm
- Parsing.elm
- Types.elm
- Updates.elm
- Views.elm
- Parsing.elm
- SilenceView.elm
- Types.elm
- Updates.elm
- Views.elm
- Parsing.elm
- Types.elm
- Updates.elm
- Views.elm
- Parsing.elm
- Types.elm
- Updates.elm
- Views.elm
- DateTime.elm
- Main.elm
- main.js
- Parsing.elm
- Types.elm
- Updates.elm
- Views.elm
- Filter.elm
- Helpers.elm
- Match.elm
- SilenceForm.elm
- StringUtils.elm
- .gitignore
- CONTRIBUTING.md
- elm.json
- index.html
- Makefile
- package-lock.json
- package.json
- README.md
- vite.config.mjs
- ErrorBoundary.tsx
- Header.module.css
- Header.tsx
- InfoPageCard.tsx
- InfoPageStack.tsx
- LabelPill.module.css
- LabelPill.test.tsx
- LabelPill.tsx
- api.ts
- groups.ts
- silences.ts
- status.ts
- Alerts.page.test.tsx
- Alerts.page.tsx
- Config.page.tsx
- Silences.page.tsx
- Status.page.tsx
- App.tsx
- highlightjs.css
- main.tsx
- theme.ts
- vite-env.d.ts
- index.ts
- render.tsx
- .gitignore
- biome.json
- index.html
- package-lock.json
- package.json
- postcss.config.cjs
- tsconfig.json
- vite.config.mjs
- vitest.setup.mjs
- web.go
- web_test.go
- .coderabbit.yaml
- .dockerignore
- .gitignore
- .golangci.yml
- .nvmrc
- .promu.yml
- .yamllint
- AGENTS.md
- buf.gen.yaml
- buf.yaml
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- CODEOWNERS
- COPYRIGHT.txt
- Dockerfile
- Dockerfile.distroless
- go.mod
- go.sum
- LICENSE
- MAINTAINERS.md
- Makefile
- Makefile.common
- NOTICE
- Procfile
- README.md
- RELEASE.md
- SECURITY.md
- VERSION
# 설치 가이드
go설치 및 실행 절차
git clone https://github.com/prometheus/alertmanager.git
저장소를 로컬에 복제합니다.
cd alertmanager
프로젝트 디렉토리로 이동합니다.
make build
소스 코드를 빌드합니다.
./alertmanager --config.file=<your_file>
설정 파일을 지정하여 Alertmanager를 실행합니다.
핵심 명령어
make build
Alertmanager 바이너리를 빌드합니다.
make build BINARIES=amtool
amtool 바이너리만 선택적으로 빌드합니다.
go install github.com/prometheus/alertmanager/cmd/amtool@latest
amtool CLI 도구를 최신 버전으로 설치합니다.
docker run --name alertmanager -d -p 127.0.0.1:9093:9093 quay.io/prometheus/alertmanager
Docker를 통해 Alertmanager 컨테이너를 실행합니다.
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
docker run
설명 보기 ▼
docker run
This command is an alias of `docker container run`.
tldr docker container run
View documentation for the original command:
git clone
설명 보기 ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
go install
설명 보기 ▼
go install
Compile and install packages named by the import paths.
go install
Compile and install the current package:
go install {{path/to/package}}
Compile and install a specific local package:
go install {{golang.org/x/tools/gopls}}@{{latest}}
Install the latest version of a program, ignoring `go.mod` in the current directory:
