Skip to content
Open
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
4 changes: 4 additions & 0 deletions sagemaker-core/src/sagemaker/core/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@
from sagemaker.core.workflow.execution_variables import ExecutionVariables
from sagemaker.core.workflow.functions import Join
from sagemaker.core.workflow.pipeline_context import runnable_by_pipeline
from sagemaker.core.telemetry.telemetry_logging import _telemetry_emitter
from sagemaker.core.telemetry.constants import Feature

from sagemaker.core._studio import _append_project_tags
from sagemaker.core.config.config_utils import _append_sagemaker_config_tags
Expand Down Expand Up @@ -771,6 +773,7 @@ def __init__(
network_config=network_config,
)

@_telemetry_emitter(feature=Feature.PROCESSING, func_name="ScriptProcessor.run")
@runnable_by_pipeline
def run(
self,
Expand Down Expand Up @@ -1171,6 +1174,7 @@ def _package_code(
os.unlink(tmp.name)
return s3_uri

@_telemetry_emitter(feature=Feature.PROCESSING, func_name="FrameworkProcessor.run")
@runnable_by_pipeline
def run(
self,
Expand Down
1 change: 1 addition & 0 deletions sagemaker-core/src/sagemaker/core/telemetry/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class Feature(Enum):
MODEL_CUSTOMIZATION = 15
MLOPS = 16
FEATURE_STORE = 17
PROCESSING = 18

def __str__(self): # pylint: disable=E0307
"""Return the feature name."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
str(Feature.MODEL_CUSTOMIZATION): 15,
str(Feature.MLOPS): 16,
str(Feature.FEATURE_STORE): 17,
str(Feature.PROCESSING): 18,
}

STATUS_TO_CODE = {
Expand Down
Loading