-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: hoc to support markdown content with variable interpolation (#3667
) * feat: hoc to support markdown content with variable interpolation * feat: add ingestion settings page * feat: update ingestion settings page and java docs to use interpolation * feat: integrate ingestion info API and update docs components to use ingestion info * feat: address review comments and update <my-app> to <servive-name>
- Loading branch information
Showing
35 changed files
with
512 additions
and
423 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
{ | ||
"general": "General", | ||
"alert_channels": "Alert Channels", | ||
"organization_settings": "Organization Settings", | ||
"my_settings": "My Settings", | ||
"overview_metrics": "Overview Metrics", | ||
"dbcall_metrics": "Database Calls", | ||
"external_metrics": "External Calls", | ||
"pipeline": "Pipeline", | ||
"pipelines": "Pipelines", | ||
"archives": "Archives", | ||
"logs_to_metrics": "Logs To Metrics" | ||
} | ||
{ | ||
"general": "General", | ||
"alert_channels": "Alert Channels", | ||
"organization_settings": "Organization Settings", | ||
"ingestion_settings": "Ingestion Settings", | ||
"my_settings": "My Settings", | ||
"overview_metrics": "Overview Metrics", | ||
"dbcall_metrics": "Database Calls", | ||
"external_metrics": "External Calls", | ||
"pipeline": "Pipeline", | ||
"pipelines": "Pipelines", | ||
"archives": "Archives", | ||
"logs_to_metrics": "Logs To Metrics" | ||
} |
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,37 +1,38 @@ | ||
{ | ||
"SIGN_UP": "SigNoz | Sign Up", | ||
"LOGIN": "SigNoz | Login", | ||
"GET_STARTED": "SigNoz | Get Started", | ||
"SERVICE_METRICS": "SigNoz | Service Metrics", | ||
"SERVICE_MAP": "SigNoz | Service Map", | ||
"TRACE": "SigNoz | Trace", | ||
"TRACE_DETAIL": "SigNoz | Trace Detail", | ||
"TRACES_EXPLORER": "SigNoz | Traces Explorer", | ||
"SETTINGS": "SigNoz | Settings", | ||
"USAGE_EXPLORER": "SigNoz | Usage Explorer", | ||
"APPLICATION": "SigNoz | Home", | ||
"ALL_DASHBOARD": "SigNoz | All Dashboards", | ||
"DASHBOARD": "SigNoz | Dashboard", | ||
"DASHBOARD_WIDGET": "SigNoz | Dashboard Widget", | ||
"EDIT_ALERTS": "SigNoz | Edit Alerts", | ||
"LIST_ALL_ALERT": "SigNoz | All Alerts", | ||
"ALERTS_NEW": "SigNoz | New Alert", | ||
"ALL_CHANNELS": "SigNoz | All Channels", | ||
"CHANNELS_NEW": "SigNoz | New Channel", | ||
"CHANNELS_EDIT": "SigNoz | Edit Channel", | ||
"ALL_ERROR": "SigNoz | All Errors", | ||
"ERROR_DETAIL": "SigNoz | Error Detail", | ||
"VERSION": "SigNoz | Version", | ||
"MY_SETTINGS": "SigNoz | My Settings", | ||
"ORG_SETTINGS": "SigNoz | Organization Settings", | ||
"SOMETHING_WENT_WRONG": "SigNoz | Something Went Wrong", | ||
"UN_AUTHORIZED": "SigNoz | Unauthorized", | ||
"NOT_FOUND": "SigNoz | Page Not Found", | ||
"LOGS": "SigNoz | Logs", | ||
"LOGS_EXPLORER": "SigNoz | Logs Explorer", | ||
"LIVE_LOGS": "SigNoz | Live Logs", | ||
"HOME_PAGE": "Open source Observability Platform | SigNoz", | ||
"PASSWORD_RESET": "SigNoz | Password Reset", | ||
"LIST_LICENSES": "SigNoz | List of Licenses", | ||
"DEFAULT": "Open source Observability Platform | SigNoz" | ||
} | ||
{ | ||
"SIGN_UP": "SigNoz | Sign Up", | ||
"LOGIN": "SigNoz | Login", | ||
"GET_STARTED": "SigNoz | Get Started", | ||
"SERVICE_METRICS": "SigNoz | Service Metrics", | ||
"SERVICE_MAP": "SigNoz | Service Map", | ||
"TRACE": "SigNoz | Trace", | ||
"TRACE_DETAIL": "SigNoz | Trace Detail", | ||
"TRACES_EXPLORER": "SigNoz | Traces Explorer", | ||
"SETTINGS": "SigNoz | Settings", | ||
"USAGE_EXPLORER": "SigNoz | Usage Explorer", | ||
"APPLICATION": "SigNoz | Home", | ||
"ALL_DASHBOARD": "SigNoz | All Dashboards", | ||
"DASHBOARD": "SigNoz | Dashboard", | ||
"DASHBOARD_WIDGET": "SigNoz | Dashboard Widget", | ||
"EDIT_ALERTS": "SigNoz | Edit Alerts", | ||
"LIST_ALL_ALERT": "SigNoz | All Alerts", | ||
"ALERTS_NEW": "SigNoz | New Alert", | ||
"ALL_CHANNELS": "SigNoz | All Channels", | ||
"CHANNELS_NEW": "SigNoz | New Channel", | ||
"CHANNELS_EDIT": "SigNoz | Edit Channel", | ||
"ALL_ERROR": "SigNoz | All Errors", | ||
"ERROR_DETAIL": "SigNoz | Error Detail", | ||
"VERSION": "SigNoz | Version", | ||
"MY_SETTINGS": "SigNoz | My Settings", | ||
"ORG_SETTINGS": "SigNoz | Organization Settings", | ||
"INGESTION_SETTINGS": "SigNoz | Ingestion Settings", | ||
"SOMETHING_WENT_WRONG": "SigNoz | Something Went Wrong", | ||
"UN_AUTHORIZED": "SigNoz | Unauthorized", | ||
"NOT_FOUND": "SigNoz | Page Not Found", | ||
"LOGS": "SigNoz | Logs", | ||
"LOGS_EXPLORER": "SigNoz | Logs Explorer", | ||
"LIVE_LOGS": "SigNoz | Live Logs", | ||
"HOME_PAGE": "Open source Observability Platform | SigNoz", | ||
"PASSWORD_RESET": "SigNoz | Password Reset", | ||
"LIST_LICENSES": "SigNoz | List of Licenses", | ||
"DEFAULT": "Open source Observability Platform | SigNoz" | ||
} |
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,13 +1,14 @@ | ||
{ | ||
"general": "General", | ||
"alert_channels": "Alert Channels", | ||
"organization_settings": "Organization Settings", | ||
"my_settings": "My Settings", | ||
"overview_metrics": "Overview Metrics", | ||
"dbcall_metrics": "Database Calls", | ||
"external_metrics": "External Calls", | ||
"pipeline": "Pipeline", | ||
"pipelines": "Pipelines", | ||
"archives": "Archives", | ||
"logs_to_metrics": "Logs To Metrics" | ||
} | ||
{ | ||
"general": "General", | ||
"alert_channels": "Alert Channels", | ||
"organization_settings": "Organization Settings", | ||
"ingestion_settings": "Ingestion Settings", | ||
"my_settings": "My Settings", | ||
"overview_metrics": "Overview Metrics", | ||
"dbcall_metrics": "Database Calls", | ||
"external_metrics": "External Calls", | ||
"pipeline": "Pipeline", | ||
"pipelines": "Pipelines", | ||
"archives": "Archives", | ||
"logs_to_metrics": "Logs To Metrics" | ||
} |
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,37 +1,38 @@ | ||
{ | ||
"SIGN_UP": "SigNoz | Sign Up", | ||
"LOGIN": "SigNoz | Login", | ||
"SERVICE_METRICS": "SigNoz | Service Metrics", | ||
"SERVICE_MAP": "SigNoz | Service Map", | ||
"GET_STARTED": "SigNoz | Get Started", | ||
"TRACE": "SigNoz | Trace", | ||
"TRACE_DETAIL": "SigNoz | Trace Detail", | ||
"TRACES_EXPLORER": "SigNoz | Traces Explorer", | ||
"SETTINGS": "SigNoz | Settings", | ||
"USAGE_EXPLORER": "SigNoz | Usage Explorer", | ||
"APPLICATION": "SigNoz | Home", | ||
"ALL_DASHBOARD": "SigNoz | All Dashboards", | ||
"DASHBOARD": "SigNoz | Dashboard", | ||
"DASHBOARD_WIDGET": "SigNoz | Dashboard Widget", | ||
"EDIT_ALERTS": "SigNoz | Edit Alerts", | ||
"LIST_ALL_ALERT": "SigNoz | All Alerts", | ||
"ALERTS_NEW": "SigNoz | New Alert", | ||
"ALL_CHANNELS": "SigNoz | All Channels", | ||
"CHANNELS_NEW": "SigNoz | New Channel", | ||
"CHANNELS_EDIT": "SigNoz | Edit Channel", | ||
"ALL_ERROR": "SigNoz | All Errors", | ||
"ERROR_DETAIL": "SigNoz | Error Detail", | ||
"VERSION": "SigNoz | Version", | ||
"MY_SETTINGS": "SigNoz | My Settings", | ||
"ORG_SETTINGS": "SigNoz | Organization Settings", | ||
"SOMETHING_WENT_WRONG": "SigNoz | Something Went Wrong", | ||
"UN_AUTHORIZED": "SigNoz | Unauthorized", | ||
"NOT_FOUND": "SigNoz | Page Not Found", | ||
"LOGS": "SigNoz | Logs", | ||
"LOGS_EXPLORER": "SigNoz | Logs Explorer", | ||
"LIVE_LOGS": "SigNoz | Live Logs", | ||
"HOME_PAGE": "Open source Observability Platform | SigNoz", | ||
"PASSWORD_RESET": "SigNoz | Password Reset", | ||
"LIST_LICENSES": "SigNoz | List of Licenses", | ||
"DEFAULT": "Open source Observability Platform | SigNoz" | ||
} | ||
{ | ||
"SIGN_UP": "SigNoz | Sign Up", | ||
"LOGIN": "SigNoz | Login", | ||
"SERVICE_METRICS": "SigNoz | Service Metrics", | ||
"SERVICE_MAP": "SigNoz | Service Map", | ||
"GET_STARTED": "SigNoz | Get Started", | ||
"TRACE": "SigNoz | Trace", | ||
"TRACE_DETAIL": "SigNoz | Trace Detail", | ||
"TRACES_EXPLORER": "SigNoz | Traces Explorer", | ||
"SETTINGS": "SigNoz | Settings", | ||
"USAGE_EXPLORER": "SigNoz | Usage Explorer", | ||
"APPLICATION": "SigNoz | Home", | ||
"ALL_DASHBOARD": "SigNoz | All Dashboards", | ||
"DASHBOARD": "SigNoz | Dashboard", | ||
"DASHBOARD_WIDGET": "SigNoz | Dashboard Widget", | ||
"EDIT_ALERTS": "SigNoz | Edit Alerts", | ||
"LIST_ALL_ALERT": "SigNoz | All Alerts", | ||
"ALERTS_NEW": "SigNoz | New Alert", | ||
"ALL_CHANNELS": "SigNoz | All Channels", | ||
"CHANNELS_NEW": "SigNoz | New Channel", | ||
"CHANNELS_EDIT": "SigNoz | Edit Channel", | ||
"ALL_ERROR": "SigNoz | All Errors", | ||
"ERROR_DETAIL": "SigNoz | Error Detail", | ||
"VERSION": "SigNoz | Version", | ||
"MY_SETTINGS": "SigNoz | My Settings", | ||
"ORG_SETTINGS": "SigNoz | Organization Settings", | ||
"INGESTION_SETTINGS": "SigNoz | Ingestion Settings", | ||
"SOMETHING_WENT_WRONG": "SigNoz | Something Went Wrong", | ||
"UN_AUTHORIZED": "SigNoz | Unauthorized", | ||
"NOT_FOUND": "SigNoz | Page Not Found", | ||
"LOGS": "SigNoz | Logs", | ||
"LOGS_EXPLORER": "SigNoz | Logs Explorer", | ||
"LIVE_LOGS": "SigNoz | Live Logs", | ||
"HOME_PAGE": "Open source Observability Platform | SigNoz", | ||
"PASSWORD_RESET": "SigNoz | Password Reset", | ||
"LIST_LICENSES": "SigNoz | List of Licenses", | ||
"DEFAULT": "Open source Observability Platform | SigNoz" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import axios from 'api'; | ||
import { ErrorResponseHandler } from 'api/ErrorResponseHandler'; | ||
import { AxiosError } from 'axios'; | ||
import { ErrorResponse, SuccessResponse } from 'types/api'; | ||
import { IngestionResponseProps } from 'types/api/settings/ingestion'; | ||
|
||
const getIngestionData = async (): Promise< | ||
SuccessResponse<IngestionResponseProps> | ErrorResponse | ||
> => { | ||
try { | ||
const response = await axios.get(`/settings/ingestion_key`); | ||
|
||
return { | ||
statusCode: 200, | ||
error: null, | ||
message: 'Success', | ||
payload: response.data, | ||
}; | ||
} catch (error) { | ||
return ErrorResponseHandler(error as AxiosError); | ||
} | ||
}; | ||
|
||
export default getIngestionData; |
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
3 changes: 3 additions & 0 deletions
3
frontend/src/container/IngestionSettings/IngestionSettings.styles.scss
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.ingestion-settings-container { | ||
color: white; | ||
} |
Oops, something went wrong.