Skip to content

[Feature] Support record slow-query-log in HugeServer #2325

@SunnyBoy-WYH

Description

@SunnyBoy-WYH

Feature Description (功能描述)

as you know slow query log is important for db,like mysql.
image
record query time, when using api to query graph info,because i think the api total time is the real query time for user.

some questions maybe need discuss @javeme @JackyYangPassion @imbajin @liuxiaocs7 @Radeity @simon824 @z7658329 @VGalaxies

  1. do we need store slow log to file or just print it ? just use slf4j Logger?
  2. hg support gremlin api & params api such as EdgeAPI/VertexAPI, they are different, do we need transform it when we record it( gremlin query language and params are different)?
  3. i think we need set time threold、enabled、file path?like neo4j:

threold:
image

enable:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    🏗 In progress

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions