Create and manage workspace
Workspace in Advanced Managed Prometheus is the basic unit for data management and monitoring. Each workspace can manage its data independently. Below is how to create and use a workspace.
Create workspace
Create a new workspace. Depending on the environment, it may take about 1 minute to complete.
-
Go to KakaoCloud console > Management > Advanced Managed Prometheus.
-
In the Workspace menu, select the [Create workspace] button in the upper right corner.
-
Enter a workspace name and select the [Create] button.
Category Description Workspace name Name of the workspace to be created
- Duplicate names are not allowed within the same project (only uppercase/lowercase letters, numbers, and hyphens allowed)
- Example: workspace-1
After creating a workspace, see the following tutorials for metric collection and visualization.
- Integrate OpenSearch Dashboards with Advanced Managed Prometheus: OpenSearch Dashboards integration
- Monitor Kafka consumer lag using Prometheus: Kafka Consumer Lag collection
- Use KakaoCloud Grafana dashboard templates: Grafana dashboard setup
Manage workspace
View workspace list
You can view the list of workspaces created within a project.
-
Go to KakaoCloud console > Management > Advanced Managed Prometheus.
-
In the Workspace menu, check the list of currently created workspaces.
Item Description Note Name Name defined by user at creation Select to view workspace details ID Unique workspace ID Automatically assigned when created Creator User who requested workspace creation Created at Date and time of workspace creation
View workspace information
You can view detailed information for each workspace.
- Go to KakaoCloud console > Management > Advanced Managed Prometheus.
- In the Workspace menu, select the name of the workspace to view.
- View details in the tabs.
Header information
| Item | Description |
|---|---|
| Creator | User who requested workspace creation |
| Created at | Date and time of workspace creation |
Details tab
| Item | Description |
|---|---|
| Workspace name | Name defined by user at creation |
| Workspace ID | Unique ID automatically assigned |
| Write endpoint | API used by Prometheus agents or servers to write metric data to cloud storage |
| Read endpoint | API for querying stored metrics, used by analysis tools such as Grafana |
Alert policy tab
View and manage alert policies configured in the workspace. The Alert policy tab consists of alert rules and alert management.
Alert rules
Alert rules trigger alert events when a metric exceeds a configured threshold or a specified pattern is detected. Alert rules can be configured only through Alert Center. For details, see Alert Center > Create and manage alert policies.
| Item | Description |
|---|---|
| Alert rule name | Name entered when creating an Alert Center policy |
| Rule file name | Name of the rule file uploaded when creating the policy |
| Last alert sent at | Time when the Alert Center policy last sent an alert |
Alert management
Alert management receives workspace alerts, manages intervals for repeated alerts, and forwards important alerts to the final notification channels.
Currently, only repeat_interval is supported. Other processing features, including grouping (group_by), are planned for future updates.
Alert management is configured by default when a workspace is created. You can modify the settings or clear the configuration if needed. If you clear the configuration, you cannot receive alerts generated by Prometheus.
-
Click [Settings] to open Alert management settings.
-
Change settings using [Upload file] or [Edit directly].
Default alert management settingsroute:
receiver: "default"
group_by: ["..."]
repeat_interval: "30m"Item Description route Defines routing and processing rules for received alerts receiver Defines the alert receiver (integrated with Alert Center)
- Cannot be modifiedgroup_by Labels used to group related alerts
- Cannot be modifiedrepeat_interval Interval for resending the same alert when it recurs
- Can be modified -
Click [Save].
Monitoring tab
| Category | Description |
|---|---|
| Data range | Time range shown in monitoring graph - 1 hour ago (default) / 3 hours ago / 12 hours ago / 1 day ago / 7 days ago |
| Metrics | Select metrics to monitor - Write / Read / Rule - All selected by default - Multiple selections allowed |
| View mode | Set view mode of monitoring graph - 1-column, 2-column, 3-column layouts available |
| Auto refresh interval | Set auto refresh interval - Off (default) / 10 seconds / 30 seconds / 1 minute / 5 minutes |
| Manual refresh | Refresh monitoring results by clicking refresh button |
Monitoring data
| Item | Monitoring data | Description |
|---|---|---|
| Write | Ingestion rate (Count/s) | Number of samples ingested per second |
| Write | Active series (Count) | Number of currently active time series |
| Write | Discarded samples (Count/s) | Number of samples dropped without processing |
| Read | Query per second (Count/s) | Number of queries executed per second |
| Read | Query latency (Sec) | Average time to process queries |
| Read | Query samples scanned (Count/s) | Number of samples scanned during query |
| Rule | Rule evaluations (Count) | Number of rule evaluations per minute |
| Rule | Rule evaluation failures (Count) | Number of failed rule evaluations per minute |
| Alert | Active Alerts (Counts) | All alerts currently loaded and managed as active by alert management |
| Alert | Suppressed Alerts (Counts) | Active alerts suppressed by Silence |
| Alert | Unprocessed Alerts (Counts) | Alerts not yet processed and waiting for group evaluation |
Discarded samples legend types
The legend of discarded samples displays warning messages based on reason for failure.
| Item | Description |
|---|---|
| greater_than_max_sample_age | Sample discarded due to being too old |
| new-value-for-timestamp | Different values found for same timestamp |
| per_metric_series_limit | Exceeded active series limit per metric (Max: 200,000) |
| per_user_series_limit | Exceeded active series limit per user (Max: 10,000,000) |
| rate_limited | Reached sample ingestion limit (Max: 170,000 per second) |
| sample-out-of-order | Sample not sent in chronological order |
| label_value_too_long | Label value exceeds allowed length (Max: 2048 characters) |
| max_label_names_per_series | Exceeded max label count per series (Max: 70) |
| missing_metric_name | Metric name not provided |
| metric_name_invalid | Invalid metric name provided |
| label_invalid | Invalid label provided |
| duplicate_label_names | Duplicate label names provided |
Edit workspace
Workspace ID and endpoints cannot be changed after creation. Only the workspace name can be modified.
-
Go to KakaoCloud console > Management > Advanced Managed Prometheus.
-
In the Workspace menu, select the [Edit] button in the upper right corner.
-
Modify the workspace name and select the [Save] button.
Category Description Workspace name Name of the workspace
- Duplicate names are not allowed within the same project (only uppercase/lowercase letters, numbers, and hyphens allowed)
- Example: workspace-1
Delete workspace
Delete a workspace that is no longer in use.
Once deleted, metric data in the workspace cannot be recovered.
-
Go to KakaoCloud console > Management > Advanced Managed Prometheus.
-
In the Workspace menu, select the [Delete] button in the upper right corner.
-
In the Delete workspace popup, enter the name of the workspace to delete, then select the [Delete] button.