Skip to content

Commit 8ae4804

Browse files
committed
- Include observability quickstart configs into fluss-dist
- Adapt observability quickstart guide - Remove ZIP file
1 parent d20612e commit 8ae4804

File tree

11 files changed

+10717
-17
lines changed

11 files changed

+10717
-17
lines changed

fluss-dist/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,18 @@
284284
</descriptors>
285285
</configuration>
286286
</execution>
287+
<execution>
288+
<id>examples</id>
289+
<phase>package</phase>
290+
<goals>
291+
<goal>single</goal>
292+
</goals>
293+
<configuration>
294+
<descriptors>
295+
<descriptor>src/main/assemblies/examples.xml</descriptor>
296+
</descriptors>
297+
</configuration>
298+
</execution>
287299
</executions>
288300
</plugin>
289301

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<!--
2+
Copyright (c) 2025 Alibaba Group Holding Ltd.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
16+
<assembly
17+
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
18+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19+
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
20+
<id>examples</id>
21+
<formats>
22+
<format>dir</format>
23+
</formats>
24+
25+
<includeBaseDirectory>true</includeBaseDirectory>
26+
<baseDirectory>fluss-${project.version}</baseDirectory>
27+
28+
<fileSets>
29+
<!-- Copy observability quickstart examples -->
30+
<fileSet>
31+
<directory>src/main/resources/examples/quickstart-observability</directory>
32+
<outputDirectory>examples/quickstart-observability</outputDirectory>
33+
<fileMode>0644</fileMode>
34+
</fileSet>
35+
</fileSets>
36+
</assembly>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
################################################################################
2+
# Copyright (c) 2025 Alibaba Group Holding Ltd.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
################################################################################
16+
17+
# WARNING: NOT FOR PRODUCTION USE (authentication is disabled)!
18+
[auth.anonymous]
19+
enabled = true
20+
org_role = Admin
21+
22+
[auth.basic]
23+
enabled = false
24+
25+
[auth]
26+
disable_login_form = true
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
################################################################################
2+
# Copyright (c) 2025 Alibaba Group Holding Ltd.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
################################################################################
16+
17+
# NOTE: quickstart configuration, adapt as needed
18+
apiVersion: 1
19+
20+
providers:
21+
- name: fluss-dashboard-provider
22+
folder: ''
23+
folderUid: ''
24+
type: file
25+
disableDeletion: false
26+
updateIntervalSeconds: 5
27+
allowUiUpdates: true
28+
options:
29+
path: /etc/grafana/provisioning/dashboards/fluss
30+
foldersFromFilesStructure: true

0 commit comments

Comments
 (0)