2022-01-10 22:43:41 +08:00
|
|
|
// Licensed to the LF AI & Data foundation under one
|
|
|
|
// or more contributor license agreements. See the NOTICE file
|
|
|
|
// distributed with this work for additional information
|
|
|
|
// regarding copyright ownership. The ASF licenses this file
|
|
|
|
// to you under the Apache License, Version 2.0 (the
|
|
|
|
// "License"); you may not use this file except in compliance
|
2021-09-22 16:18:21 +08:00
|
|
|
// with the License. You may obtain a copy of the License at
|
|
|
|
//
|
2022-01-10 22:43:41 +08:00
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
2021-09-22 16:18:21 +08:00
|
|
|
//
|
2022-01-10 22:43:41 +08:00
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
2021-09-22 16:18:21 +08:00
|
|
|
|
2023-04-06 19:14:32 +08:00
|
|
|
package http
|
2021-09-22 16:18:21 +08:00
|
|
|
|
2021-10-04 08:14:31 +08:00
|
|
|
// HealthzRouterPath is default path for check health state.
|
2021-09-24 11:29:54 +08:00
|
|
|
const HealthzRouterPath = "/healthz"
|
2022-10-14 14:19:24 +08:00
|
|
|
|
|
|
|
// LogLevelRouterPath is path for Get and Update log level at runtime.
|
|
|
|
const LogLevelRouterPath = "/log/level"
|
2023-07-25 17:23:01 +08:00
|
|
|
|
|
|
|
// EventLogRouterPath is path for eventlog control.
|
|
|
|
const EventLogRouterPath = "/eventlog"
|