-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
liushaobo
committed
Jul 22, 2021
1 parent
1180a86
commit dade19d
Showing
17 changed files
with
1,006 additions
and
518 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,57 @@ | ||
diff a/.gitlab-ci.yml b/.gitlab-ci.yml (rejected hunks) | ||
@@ -23,29 +23,29 @@ stages: | ||
# tags: | ||
# - cloudcare-ft | ||
|
||
-build-testing: | ||
- stage: deploy | ||
- only: | ||
- - testing | ||
- script: | ||
- # building && publish testing | ||
- - make ci_notify | ||
- - make testing | ||
- - make pub_testing | ||
- - make pub_testing_img | ||
- - make test_notify | ||
- tags: | ||
- - cloudcare-ft | ||
- | ||
-build-release: | ||
- stage: deploy | ||
- only: | ||
- - master | ||
- script: | ||
- - make ci_notify | ||
- - make release | ||
- - make pub_release | ||
- - make pub_release_img | ||
- - make release_notify | ||
- tags: | ||
- - cloudcare-ft | ||
+#build-testing: | ||
+# stage: deploy | ||
+# only: | ||
+# - testing | ||
+# script: | ||
+# # building && publish testing | ||
+# - make ci_notify | ||
+# - make testing | ||
+# - make pub_testing | ||
+# - make pub_testing_img | ||
+# - make test_notify | ||
+# tags: | ||
+# - cloudcare-ft | ||
+# | ||
+#build-release: | ||
+# stage: deploy | ||
+# only: | ||
+# - master | ||
+# script: | ||
+# - make ci_notify | ||
+# - make release | ||
+# - make pub_release | ||
+# - make pub_release_img | ||
+# - make release_notify | ||
+# tags: | ||
+# - cloudcare-ft |
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,39 @@ | ||
FROM mcr.microsoft.com/windows/servercore:ltsc2019 | ||
|
||
ARG exe="dist/datakit-windows-amd64" | ||
ARG target="C:/Program Files/datakit/" | ||
|
||
RUN mkdir ${target} | ||
|
||
COPY ${exe} ${target} | ||
|
||
# download data files required by datakit | ||
ADD https://zhuyun-static-files-production.oss-cn-hangzhou.aliyuncs.com/datakit/data.tar.gz data.tar.gz | ||
RUN tar -zxvf data.tar.gz -C ${target} | ||
RUN del "data.tar.gz" | ||
|
||
ARG dataway="" | ||
ARG loglevel="" | ||
ARG global_tags="" | ||
ARG hostname="" | ||
ARG name="" | ||
ARG http_listen="" | ||
ARG rum_origin_ip_header="" | ||
ARG enable_pprof="" | ||
ARG disable_protect_mode="" | ||
ARG default_enabled_inputs="" | ||
ARG enable_election="" | ||
|
||
ENV ENV_DATAWAY=$dataway \ | ||
ENV_LOG_LEVEL=$loglevel \ | ||
ENV_GLOBAL_TAGS=$global_tags \ | ||
ENV_NAME=$name \ | ||
ENV_HTTP_LISTEN=$http_listen \ | ||
ENV_RUM_ORIGIN_IP_HEADER=$rum_origin_ip_header \ | ||
ENV_ENABLE_PPROF=$enable_pprof \ | ||
ENV_DISABLE_PROTECT_MODE=$=$disable_protect_mode \ | ||
ENV_DEFAULT_ENABLED_INPUTS=$default_enabled_inputs \ | ||
ENV_ENABLE_ELECTION=$enable_election \ | ||
ENV_HOSTNAME=$hostname | ||
|
||
CMD ["C:\\Program Files\\datakit\\datakit", "--docker"] |
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
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,11 @@ | ||
diff a/man/manuals/jvm.md b/man/manuals/jvm.md (rejected hunks) | ||
@@ -97,9 +97,6 @@ java -javaagent:dd-java-agent.jar \ | ||
-Ddd.jmxfetch.check-period=1000 \ | ||
-Ddd.jmxfetch.statsd.host=127.0.0.1 \ | ||
-Ddd.jmxfetch.statsd.port=8125 \ | ||
- -Ddd.trace.health.metrics.enabled=true \ | ||
- -Ddd.trace.health.metrics.statsd.host=127.0.0.1 \ | ||
- -Ddd.trace.health.metrics.statsd.port=8125 \ | ||
-Ddd.version=1.0 \ | ||
-jar your-app.jar | ||
``` |
Oops, something went wrong.