-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
feature/DataDogNewMetrics
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
import os | ||
import logging | ||
|
||
from pipeline.launcher import run | ||
|
||
if __name__ == "__main__": | ||
if not os.getenv("env"): | ||
os.environ["env"] = "test" | ||
logging.getLogger().setLevel(logging.INFO) | ||
run() |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,11 @@ | ||
## Using setup.py | ||
|
||
#python main.py --project ivanildobarauna \ | ||
# --region us-east4 \ | ||
# --runner Dataflowrunner \ | ||
#--setup_file ./setup.py \ | ||
#--staging_location gs://gcp-streaming-pipeline-dataflow/staging \ | ||
#--temp_location gs://gcp-streaming-pipeline-dataflow/temp \ | ||
#--save_main_session | ||
|
||
## Using container | ||
|
||
python main.py --project ivanildobarauna \ | ||
--region us-east4 \ | ||
--runner DataflowRunner \ | ||
--staging_location gs://gcp-streaming-pipeline-dataflow/staging \ | ||
--temp_location gs://gcp-streaming-pipeline-dataflow/temp \ | ||
--sdk_container_image=us-central1-docker.pkg.dev/ivanildobarauna/dataflow-ar/custom-beam/img:latest \ | ||
--sdk_location=container \ | ||
--worker_machine_type=n1-standard-1 \ | ||
--worker_machine_type=e2-custom-1-3072 \ | ||
--num_workers=1 \ | ||
--max_num_workers=1 \ | ||
--autoscaling_algorithm=NONE | ||
|
||
--autoscaling_algorithm=NONE |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
python main.py --project ivanildobarauna \ | ||
--region us-east4 \ | ||
--runner DirectRunner \ | ||
--staging_location gs://gcp-streaming-pipeline-dataflow/staging \ | ||
--temp_location gs://gcp-streaming-pipeline-dataflow/temp \ | ||
--sdk_container_image=us-central1-docker.pkg.dev/ivanildobarauna/dataflow-ar/custom-beam/img:latest \ | ||
--sdk_location=container \ | ||
--worker_machine_type=e2-custom-1-3072 \ | ||
--num_workers=1 \ | ||
--max_num_workers=1 \ | ||
--autoscaling_algorithm=NONE |