Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[forge] fix processor sdk integration #14996

Merged
merged 2 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions testsuite/forge/src/backend/k8s_deployer/deployer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ impl ForgeDeployerManager {
containers: vec![k8s_openapi::api::core::v1::Container {
name: "forge-deployer".to_string(),
image: Some(format!("{}:{}", image_repo, image_tag)),
image_pull_policy: Some("Always".to_string()),
env: Some(vec![k8s_openapi::api::core::v1::EnvVar {
name: FORGE_DEPLOYER_VALUES_ENV_VAR_NAME.to_string(),
value_from: Some(k8s_openapi::api::core::v1::EnvVarSource {
Expand Down
4 changes: 2 additions & 2 deletions testsuite/forge/src/interface/prometheus_metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ pub async fn fetch_latency_breakdown(
// These are processor latencies for both original core processors and those written with the processor SDK: https://github.com/aptos-labs/aptos-indexer-processor-sdk
// Note the use of empty {}, where additional test-specific labels will be added by Forge
let indexer_processor_latency_query =
r#"max by (processor_name) (indexer_processor_data_processed_latency_in_secs{})"#;
r#"max(indexer_processor_data_processed_latency_in_secs{})"#;
let indexer_sdk_processor_latency_query =
"max by (step_name) (aptos_procsdk_step__processed_transaction_latency_secs{})";
"max(aptos_procsdk_step__processed_transaction_latency_secs{})";

let indexer_fullnode_processed_batch_samples = swarm
.query_range_metrics(
Expand Down
Loading