-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add sample for hertzbeat based on oceanbase (#41)
* a demo for HertzBeat Start With OceanBase * a demo for HertzBeat Start With OceanBase * add ci for hertzbeat * add ci for hertzbeat * add ci for hertzbeat * add error ignore class * update readme add connection config notes
- Loading branch information
Showing
1,191 changed files
with
160,185 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: HertzBeat CI | ||
on: | ||
pull_request: | ||
paths: | ||
- 'applications/hertzbeat/**' | ||
|
||
jobs: | ||
application-hertzbeat: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Java Env | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '17' | ||
distribution: 'zulu' | ||
cache: 'maven' | ||
- name: Start OceanBase container | ||
uses: oceanbase/[email protected] | ||
with: | ||
network: 'host' | ||
- name: Build and Test | ||
run: | | ||
cd applications/hertzbeat | ||
mvn clean test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to You under the Apache License, Version 2.0 | ||
# (the "License"); you may not use this file except in compliance with | ||
# the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
github: | ||
description: Apache HertzBeat(incubating) is a real-time monitoring system with agentless, performance cluster, prometheus-compatible, custom monitoring and status page building capabilities. | ||
homepage: https://hertzbeat.apache.org/ | ||
labels: | ||
- monitoring | ||
- monitor | ||
- notifications | ||
- alerting | ||
- self-hosted | ||
- prometheus | ||
- zabbix | ||
- grafana | ||
- metrics | ||
- observability | ||
- uptime | ||
- uptime-monitoring | ||
- status | ||
- status-page | ||
- devops | ||
- server | ||
- linux | ||
- database | ||
- mysql | ||
- cloud | ||
enabled_merge_buttons: | ||
squash: true | ||
merge: false | ||
rebase: false | ||
protected_branches: | ||
master: | ||
required_status_checks: | ||
strict: true | ||
contexts: | ||
- check-license-header | ||
required_pull_request_reviews: | ||
dismiss_stale_reviews: true | ||
required_approving_review_count: 1 | ||
notifications: | ||
commits: [email protected] | ||
issues: [email protected] | ||
pullrequests: [email protected] | ||
jobs: [email protected] | ||
discussions: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to You under the Apache License, Version 2.0 | ||
# (the "License"); you may not use this file except in compliance with | ||
# the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
/home export-ignore | ||
/hip export-ignore | ||
/.github export-ignore | ||
/.idea export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
target/ | ||
!.mvn/wrapper/maven-wrapper.jar | ||
Thumbs.db | ||
.DS_Store | ||
.gradle | ||
build/ | ||
out/ | ||
micronaut-cli.yml | ||
.mvn/ | ||
mvnw | ||
mvnw.bat | ||
*.log | ||
package-lock.json | ||
*.zip | ||
jdk/ | ||
|
||
### STS ### | ||
.apt_generated | ||
.classpath | ||
.factorypath | ||
.project | ||
.settings | ||
.springBeans | ||
|
||
### IntelliJ IDEA ### | ||
.idea | ||
*.iws | ||
*.iml | ||
*.ipr | ||
|
||
### For icon.png ### | ||
!.idea/icon.png | ||
|
||
### NetBeans ### | ||
nbproject/private/ | ||
build/ | ||
nbbuild/ | ||
dist/ | ||
nbdist/ | ||
.nb-gradle/ | ||
|
||
### VS Code ### | ||
.vscode/ | ||
|
||
# dependencies | ||
node_modules | ||
.docusaurus | ||
|
||
# h2 data | ||
*.mv.db | ||
*.trace.db | ||
|
||
# debug env | ||
application-dev.yml | ||
application-mysql.yml | ||
application-pg.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
# | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to You under the Apache License, Version 2.0 | ||
# (the "License"); you may not use this file except in compliance with | ||
# the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
header: | ||
license: | ||
spdx-id: Apache-2.0 | ||
copyright-owner: Apache Software Foundation | ||
|
||
paths-ignore: | ||
- '**/*.md' | ||
- '**/*.json' | ||
- '**/*.iml' | ||
- '**/*.ini' | ||
- '**/*.svg' | ||
- '**/*.png' | ||
- '**/*.MD' | ||
- '**/*.ftl' | ||
- '**/*.tpl' | ||
- '**/*.pl' | ||
- '**/*.dict' | ||
- '**/*.awk' | ||
- "**/*.lock" | ||
- '**/*.crt' | ||
- '**/*.pem' | ||
- '**/*.js' | ||
- '**/*.less' | ||
- '**/*.txt' | ||
- '**/target/**' | ||
- '.gitattributes' | ||
- '**/.gitignore' | ||
- '**/.gitkeep' | ||
- 'home/**' | ||
- 'material/**' | ||
- 'LICENSE' | ||
- 'NOTICE' | ||
- 'DISCLAIMER' | ||
- '**/LICENSE' | ||
- '**/NOTICE' | ||
- '.all-contributorsrc' | ||
- '**/*.AbstractCollect' | ||
- '**/*.Plugin' | ||
- '**/*.MockMaker' | ||
- '.prettierrc' | ||
- '.browserslistrc' | ||
- '.editorconfig' | ||
- '.eslintignore' | ||
- '.eslintrc.js' | ||
- '.stylelintrc' | ||
- '.prettierignore' | ||
- '.prettierrc.js' | ||
- 'karma.conf.js' | ||
- 'proxy.conf.js' | ||
- '.helmignore' | ||
- 'web-app/src/app/core/**' | ||
- 'web-app/src/app/layout/**' | ||
- 'web-app/src/app/routes/exception/**' | ||
- 'web-app/src/app/routes/routes.module.ts' | ||
- 'web-app/src/app/routes/routes-routing.module.ts' | ||
- 'web-app/src/app/shared/json-schema/**' | ||
- 'web-app/src/app/shared/index.ts' | ||
- 'web-app/src/app/shared/shared.module.ts' | ||
- 'web-app/src/app/shared/shared-delon.module.ts' | ||
- 'web-app/src/app/shared/shared-zorro.module.ts' | ||
- 'web-app/src/app/app.module.ts' | ||
- 'web-app/src/app/app.component.ts' | ||
- 'web-app/src/app/global-config.module.ts' | ||
- 'web-app/src/app/icons-provider.module.ts' | ||
- 'web-app/src/assets/color.less' | ||
- 'web-app/src/assets/style.compact.less' | ||
- 'web-app/src/assets/style.dark.less' | ||
- 'web-app/src/environments/**' | ||
- 'web-app/src/styles/**' | ||
- 'web-app/src/index.html' | ||
- 'web-app/src/main.ts' | ||
- 'web-app/src/polyfills.ts' | ||
- 'web-app/src/style-icons.ts' | ||
- 'web-app/src/style-icons-auto.ts' | ||
- 'web-app/src/style.less' | ||
- 'web-app/src/test.ts' | ||
- 'web-app/src/typings.d.ts' | ||
|
||
comment: on-failure | ||
|
||
dependency: | ||
files: | ||
- pom.xml | ||
- web-app/package.json | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Apache HertzBeat (incubating) is an effort undergoing incubation at the Apache | ||
Software Foundation (ASF), sponsored by the Apache Incubator PMC. | ||
|
||
Incubation is required of all newly accepted projects until a further review | ||
indicates that the infrastructure, communications, and decision making process | ||
have stabilized in a manner consistent with other successful ASF projects. | ||
|
||
While incubation status is not necessarily a reflection of the completeness | ||
or stability of the code, it does indicate that the project has yet to be | ||
fully endorsed by the ASF. |
Oops, something went wrong.