File tree Expand file tree Collapse file tree 11 files changed +198
-0
lines changed Expand file tree Collapse file tree 11 files changed +198
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Parseable Server (C) 2022 - 2024 Parseable, Inc.
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU Affero General Public License as
6
+ * published by the Free Software Foundation, either version 3 of the
7
+ * License, or (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU Affero General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Affero General Public License
15
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
+ *
17
+ */
18
+
1
19
use arrow_array:: RecordBatch ;
2
20
use arrow_flight:: encode:: FlightDataEncoderBuilder ;
3
21
use arrow_flight:: flight_service_server:: FlightServiceServer ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Parseable Server (C) 2022 - 2024 Parseable, Inc.
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU Affero General Public License as
6
+ * published by the Free Software Foundation, either version 3 of the
7
+ * License, or (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU Affero General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Affero General Public License
15
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
+ *
17
+ */
18
+
1
19
use crate :: {
2
20
handlers:: http:: ingest:: PostError ,
3
21
option:: CONFIG ,
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Parseable Server (C) 2022 - 2024 Parseable, Inc.
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU Affero General Public License as
6
+ * published by the Free Software Foundation, either version 3 of the
7
+ * License, or (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU Affero General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Affero General Public License
15
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
+ *
17
+ */
18
+
1
19
use crate :: {
2
20
handlers:: { http:: ingest:: PostError , STREAM_NAME_HEADER_KEY } ,
3
21
option:: CONFIG ,
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Parseable Server (C) 2022 - 2024 Parseable, Inc.
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU Affero General Public License as
6
+ * published by the Free Software Foundation, either version 3 of the
7
+ * License, or (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU Affero General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Affero General Public License
15
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
+ *
17
+ */
18
+
1
19
pub mod dashboards;
2
20
pub mod filters;
3
21
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Parseable Server (C) 2022 - 2024 Parseable, Inc.
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU Affero General Public License as
6
+ * published by the Free Software Foundation, either version 3 of the
7
+ * License, or (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU Affero General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Affero General Public License
15
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
+ *
17
+ */
18
+
1
19
use crate :: utils:: get_url;
2
20
use prometheus_parse:: Sample as PromSample ;
3
21
use prometheus_parse:: Value as PromValue ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Parseable Server (C) 2022 - 2024 Parseable, Inc.
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU Affero General Public License as
6
+ * published by the Free Software Foundation, either version 3 of the
7
+ * License, or (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU Affero General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Affero General Public License
15
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
+ *
17
+ */
18
+
1
19
use crate :: event:: { DEFAULT_METADATA_KEY , DEFAULT_TAGS_KEY , DEFAULT_TIMESTAMP_KEY } ;
2
20
use crate :: utils:: arrow:: get_field;
3
21
use anyhow:: { anyhow, Error as AnyError } ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Parseable Server (C) 2022 - 2024 Parseable, Inc.
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU Affero General Public License as
6
+ * published by the Free Software Foundation, either version 3 of the
7
+ * License, or (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU Affero General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Affero General Public License
15
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
+ *
17
+ */
18
+
1
19
use std:: {
2
20
ops:: Range ,
3
21
task:: { Context , Poll } ,
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Parseable Server (C) 2022 - 2024 Parseable, Inc.
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU Affero General Public License as
6
+ * published by the Free Software Foundation, either version 3 of the
7
+ * License, or (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU Affero General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Affero General Public License
15
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
+ *
17
+ */
18
+
1
19
use std:: sync:: RwLock ;
2
20
3
21
use once_cell:: sync:: Lazy ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Parseable Server (C) 2022 - 2024 Parseable, Inc.
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU Affero General Public License as
6
+ * published by the Free Software Foundation, either version 3 of the
7
+ * License, or (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU Affero General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Affero General Public License
15
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
+ *
17
+ */
18
+
1
19
use std:: sync:: RwLock ;
2
20
3
21
use once_cell:: sync:: Lazy ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Parseable Server (C) 2022 - 2024 Parseable, Inc.
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU Affero General Public License as
6
+ * published by the Free Software Foundation, either version 3 of the
7
+ * License, or (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU Affero General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Affero General Public License
15
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
+ *
17
+ */
18
+
1
19
pub mod dashboards;
2
20
pub mod filters;
3
21
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Parseable Server (C) 2022 - 2024 Parseable, Inc.
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU Affero General Public License as
6
+ * published by the Free Software Foundation, either version 3 of the
7
+ * License, or (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU Affero General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Affero General Public License
15
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
+ *
17
+ */
18
+
1
19
use crate :: event:: Event ;
2
20
use crate :: handlers:: http:: ingest:: push_logs_unchecked;
3
21
use crate :: handlers:: http:: query:: Query as QueryJson ;
You can’t perform that action at this time.
0 commit comments