-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from discursus-data/26_improve_connectors
Renaming orchestrator connector + Changing how we handle default connector profiles
- Loading branch information
Showing
10 changed files
with
137 additions
and
132 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
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
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
from line_profiler import LineProfiler | ||
from damn_tool.metrics import get_dagster_metrics | ||
from damn_tool.metrics import get_orchestrator_metrics | ||
|
||
def do_profile(): | ||
lp = LineProfiler() | ||
lp.add_function(get_dagster_metrics) | ||
lp.runcall(get_dagster_metrics, "gdelt/gdelt_gkg_articles", "prod") | ||
lp.add_function(get_orchestrator_metrics) | ||
lp.runcall(get_orchestrator_metrics, "gdelt/gdelt_gkg_articles", "prod") | ||
lp.print_stats() | ||
|
||
do_profile() |
Oops, something went wrong.